Replies: 2 comments 1 reply
-
Hi @samislam, |
Beta Was this translation helpful? Give feedback.
1 reply
-
Can confirm - same issue here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following code:
If I write "h" in the input field, and then I click on the "Submit!" button, of course I see a validation error, and the error message gets print on the screen:
This is good. however, the normal behavior of react-hook-form now is I have to click on the "Submit!" button again to get rid of the red error message.
Is using
trigger()
makes everything from now on manual? is that documented anywhere?I want the normal react-hook-form behavior to happen, so that when I write inside the input field, the error goes away as I type correctly.
Here's a preview in stack bilitz (if you're using brave browser, turn off the shields).
Beta Was this translation helpful? Give feedback.
All reactions