-
-
Notifications
You must be signed in to change notification settings - Fork 562
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
How can I get a list of text errors from all fields when submit and the form is not valid? I would like to show theses errors in another widget or format.
void savePressed() async {
final form = _formKey.currentState;
if (form!.validate()) {
form.save();
} else {
**// HERE I WOULD LIKE TO HAVE ACCESS TO THE ERROR LIST**
}
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request