I came across a requirement where if a field has value already present, it needs to be disabled.
I’m not able to find the documentation for using conditional and logic, please suggest some sources.
The action part is executed even if I just write return true; inside the trigger. What exactly we need to be added here?
Thanks for the help.
if(value.length > 0)
component.disabled = true;
And it seems to be working, but the trigger runs even on single key press in text box and disables it.