Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue: Custom validation functions are called on every change when Devtools are used #202

Open
1 task done
dd-jonas opened this issue Oct 17, 2023 · 0 comments
Open
1 task done

Comments

@dd-jonas
Copy link

Version Number

7.47.0

Codesandbox/Expo snack

https://stackblitz.com/edit/stackblitz-starters-z9tuex?file=src%2FApp.tsx

Steps to reproduce

  1. Go to the repro link
  2. Notice the console logs of the first form
  3. Type in the first input, blur the input, ...
  4. Notice more logs
  5. Repeat for the second input and notice no logs until submitted

Expected behaviour

Behaviour should be the same as when Devtools aren't used

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Edge

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@bluebill1049 bluebill1049 transferred this issue from react-hook-form/react-hook-form Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant