Open Issues Need Help
View All on GitHubAI Summary: The `form.onSubmitInvalid` callback is not triggered when `handleSubmit` is called and the form's `canSubmit` property is `false`. This occurs because an early return in the `FormApi.ts` code prevents the invalid submission handler from being invoked. The user expects `onSubmitInvalid` to be called whenever a submission attempt results in an invalid state, regardless of the `canSubmit` flag.
Complexity:
2/5
bug good first issue
TanStack/form
5.8K
🤖 Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, and Lit.
TypeScript
#angular#form#forms#hacktoberfest#hooks#lit#react#solid#tanstack#vue#yup#zod