fix(form-core): canSubmitWhenInvalid not allowing form submission
This might be a confusion about what canSubmitWhenInvalid is supposed to do. The purpose is that canSubmit does not trigger an early return and will retry validation before submission. It should not call onSubmit if errors showed up during validation.
View your CI Pipeline Execution ↗ for commit 1fde4b69f64950772d3fcd688b76c4f8c40e43ad
| Command | Status | Duration | Result |
|---|---|---|---|
nx affected --targets=test:sherif,test:knip,tes... |
✅ Succeeded | 1m 27s | View ↗ |
nx run-many --target=build --exclude=examples/** |
✅ Succeeded | <1s | View ↗ |
☁️ Nx Cloud last updated this comment at 2025-07-30 13:41:59 UTC
More templates
- @tanstack/form-example-angular-array
- @tanstack/form-example-angular-large-form
- @tanstack/form-example-angular-simple
- @tanstack/form-example-lit-simple
- @tanstack/form-example-lit-ui-libraries
- @tanstack/form-example-react-array
- @tanstack/form-example-react-compiler
- @tanstack/field-errors-from-form-validators
- @tanstack/form-example-react-large-form
- @tanstack/form-example-react-next-server-actions
- @tanstack/form-example-react-query-integration
- @tanstack/form-example-remix
- @tanstack/form-example-react-simple
- @tanstack/form-example-react-standard-schema
- @tanstack/form-example-react-tanstack-start
- @tanstack/form-example-react-ui-libraries
- @tanstack/form-example-solid-array
- @tanstack/form-example-solid-large-form
- @tanstack/form-example-solid-simple
- @tanstack/form-example-svelte-array
- @tanstack/form-example-svelte-simple
- @tanstack/form-example-vue-array
- @tanstack/form-example-vue-simple
@tanstack/angular-form
npm i https://pkg.pr.new/@tanstack/angular-form@1632
@tanstack/form-core
npm i https://pkg.pr.new/@tanstack/form-core@1632
@tanstack/lit-form
npm i https://pkg.pr.new/@tanstack/lit-form@1632
@tanstack/react-form
npm i https://pkg.pr.new/@tanstack/react-form@1632
@tanstack/solid-form
npm i https://pkg.pr.new/@tanstack/solid-form@1632
@tanstack/svelte-form
npm i https://pkg.pr.new/@tanstack/svelte-form@1632
@tanstack/vue-form
npm i https://pkg.pr.new/@tanstack/vue-form@1632
commit: 1fde4b6
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 90.37%. Comparing base (9e9cccd) to head (1fde4b6).
:warning: Report is 6 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1632 +/- ##
==========================================
+ Coverage 89.57% 90.37% +0.79%
==========================================
Files 34 36 +2
Lines 1497 1621 +124
Branches 371 385 +14
==========================================
+ Hits 1341 1465 +124
Misses 139 139
Partials 17 17
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.