-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Is your feature request related to a problem? Please describe.
I want to globally handle failed submissions, for example:
- Scroll to the first field with an error
- Trigger a toast or highlight the error section
- Perform analytics or tracking on form failure
Currently, I need to manually handle this for each form, which becomes repetitive across larger apps.
Describe the solution you'd like
Something like:
onSubmitFailed(({ errors, fields }) => {
// Scroll to first error, show toast, etc.
});
Describe alternatives you've considered
Metadata
Metadata
Assignees
Labels
No labels