Enabling a 'save' button based on all fields in form being valid #1322
Unanswered
chriswhiteoco
asked this question in
Q&A
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
-
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