Enabling a 'save' button based on all fields in form being valid #1322
Replies: 1 comment
-
You need use _formKey.currentState?.saveAndValidate() to validate the form and with this result, enable or disable the button. Currently we don't have an example with this exactly behavior |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to enable a save button when all the fields in a form are valid.
I tried to find an example of this but couldn't.
Any suggestions or pointers to some example?
Beta Was this translation helpful? Give feedback.
All reactions