What is the difference between "onTouched", "onChange" and "all" modes? #12393
Unanswered
guillermomorini
asked this question in
Q&A
Replies: 1 comment
|
The difference is easiest to see before the first submit, on a field that hasn't been blurred yet:
So I checked a registered input with React Hook Form 7.89.0, without submitting it. For After submission, also consider |
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
They seem to behave the same.
From what I can tell, they both trigger after onBlur and onChange.
for all vs onChange, when would one trigger, but not the other?
All reactions