You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see a new action handler disableFields very similar to the clearFields handler.
Instead of clearing fields, I would like to disable them.
It's quite similar to the clearFields because disabled field are not submitted.
But the advantage is that if the user hide the field, and then display it again, all the values he started to enter are not lost.
Its also possible to set default values that will not be cleared and not submitted if the fields are hidden.
Thank you
The text was updated successfully, but these errors were encountered:
Thanks for your suggestion. I am not sure if I got your idea. It would be nice if you could provide a PR or, at least, an example.
Another thing is that for disableFields it is not enough to have one action, so one will need also to un-disable fields. So, it looks like it is simpler to write your custom ifTrue and ifFalse functions.
Hello,
I would like to see a new action handler
disableFields
very similar to theclearFields
handler.Instead of clearing fields, I would like to disable them.
It's quite similar to the
clearFields
because disabled field are not submitted.But the advantage is that if the user hide the field, and then display it again, all the values he started to enter are not lost.
Its also possible to set default values that will not be cleared and not submitted if the fields are hidden.
Thank you
The text was updated successfully, but these errors were encountered: