Replies: 2 comments 1 reply
-
I think you want the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here's an SO if that helps - https://stackoverflow.com/questions/78116060/react-hook-form-how-to-check-if-form-field-is-valid-before-form-validation-is-fi |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a use case where my form uses the
onTouched
validation mode, but I need to check if one of my fields is valid before the form fields have been validated. Is there already something for this? If not it could be cool to have something likeWith this type of thing, it would be possible to check if a field is valid even if
formState.errors.myField
isn't accurate due to theuseForm
mode
beingonTouched
.Beta Was this translation helpful? Give feedback.
All reactions