You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This suppresses offensive false-positive validation errors when an user fill every correct entry and the fastest algorithm to clear the error message when a user corrects an incorrect value.
The absence of this feature is hindering the migration from both libraries.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
React Hook Form can defer the first validation triggered by
onChange
to the firstonBlur
bymode: "onTouched"
.https://react-hook-form.com/docs/useform#mode
Conform provides the same behavior by setting
shouldValidate
to"onBlur"
andshouldRevalidate
to"onInput"
.https://conform.guide/api/react/future/useForm
This suppresses offensive false-positive validation errors when an user fill every correct entry and the fastest algorithm to clear the error message when a user corrects an incorrect value.
The absence of this feature is hindering the migration from both libraries.
e.g.
https://stackblitz.com/github/tanstack/form/tree/main/examples/react/simple?embed=1&theme=dark&preset=node&file=src/index.tsx
Beta Was this translation helpful? Give feedback.
All reactions