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: With a <DevTool />, watch is not triggered by setValue #196

Open
1 task done
QzCurious opened this issue Mar 15, 2023 · 1 comment
Open
1 task done

issue: With a <DevTool />, watch is not triggered by setValue #196

QzCurious opened this issue Mar 15, 2023 · 1 comment

Comments

@QzCurious
Copy link

Version Number

react-hook-form: 7.43.5; react: 18.2.0

Codesandbox/Expo snack

https://codesandbox.io/s/hookform-devtools-bug-watch-is-not-triggered-by-setvalue-mhcjlx?file=/src/index.tsx

Steps to reproduce

bandicam.2023-03-15.11-08-17-199.mp4

Expected behaviour

setValue should correctly trigger watch whether there's a <Devtool /> or not.

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@michaelperrin
Copy link

This might be related to the issue I just opened: #200

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

2 participants