-
The
When I am binding the model mentioned above to RHF and am using When I validate the model calling the yup validator directly, it is performing the validation correctly. Steps to reproduce the behavior:
I expect the validation result either via yup or the rhf trigger (which is using the yupResolver) to be the same but here they are incosistent. Codesandbox **Browser ; Chrome
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
I guess the issue stems from this line: |
Beta Was this translation helpful? Give feedback.
I guess the issue stems from this line:
https://github.com/react-hook-form/react-hook-form/blob/master/src/useForm.ts#L351 here we are only validating the fields that are in fieldRef.