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
My main problem with the code below (just a short example of the component), is that even though the component shows that it has an error, it is letting handleSubmit. I've looked through some discussions and issues but nothing that could help me solve my problem.
NOTE: event.preventDefault() completely prevented the form from being submitted, even when it was valid.
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.
-
My main problem with the code below (just a short example of the component), is that even though the component shows that it has an error, it is letting handleSubmit. I've looked through some discussions and issues but nothing that could help me solve my problem.
NOTE: event.preventDefault() completely prevented the form from being submitted, even when it was valid.
version:
"react-hook-form": "^7.48.2",
Beta Was this translation helpful? Give feedback.
All reactions