Getting weather a field is disabled or not
I have a simple question: how can I access whether a field is disabled or not. I need this information inside a callback function.
4 Replies
for context I need this information to conditionally show a hint explaining why a field is disabled
$component->isDisabled()
Components are injectable is callbacks for the various methods on the component itself. But difficult to give more advice with out see the code you’re tried.
@awcodes with the following code:
I got this error
nevermind, I imported the wrong Component