documentation icon indicating copy to clipboard operation
documentation copied to clipboard

issue: if 'isValid' value is used, mode and revalidationMode behaves like 'onChange'

Open Bytekunst opened this issue 1 year ago • 6 comments

Version Number

7.43.9

Codesandbox/Expo snack

https://codesandbox.io/s/react-hook-form-basic-forked-5gi2ng

Steps to reproduce

Based on the closed issue here https://github.com/react-hook-form/react-hook-form/issues/10215 i try to "reopen" this bug.
It makes no sense, that this behaviour of 'isValid' has changed and that the issue was closed with the answer (https://github.com/react-hook-form/react-hook-form/issues/10215#issuecomment-1492946013)

Expected behaviour

isValid should not change useForm modes to onChange

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Bytekunst avatar Apr 17 '23 14:04 Bytekunst