For those who are bothered by the browser's default behavior, here is a solution #1700
Unanswered
Langlw1992
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was stuck on this problem for a few hours because I added a number input field. When I clicked submit, the browser validated the form instead of
@tanstack/react-form
itself.The solution is also very simple: just add the
novalidate
attribute to your<form>
element, and the submit action will trigger your validation correctly.Beta Was this translation helpful? Give feedback.
All reactions