Open QzCurious opened 1 year ago
react-hook-form: 7.43.5; react: 18.2.0
https://codesandbox.io/s/hookform-devtools-bug-watch-is-not-triggered-by-setvalue-mhcjlx?file=/src/index.tsx
https://user-images.githubusercontent.com/38932402/225195576-d5ae222f-4474-4de8-81be-8013c66ff1e3.mp4
setValue should correctly trigger watch whether there's a <Devtool /> or not.
setValue
watch
<Devtool />
Chrome
No response
This might be related to the issue I just opened: #200
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
https://user-images.githubusercontent.com/38932402/225195576-d5ae222f-4474-4de8-81be-8013c66ff1e3.mp4
Expected behaviour
setValue
should correctly triggerwatch
whether there's a<Devtool />
or not.What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct