issue: calling setValue breaks future onChange calls from a Controller #9709
Labels
bug
Something isn't working
status: under investigation
aware of this issue and pending for investigation
Version Number
7.41.3
It appears this broke in 7.41.2, it works in 7.41.1
Codesandbox/Expo snack
https://codesandbox.io/s/dawn-glade-g2bibl?file=/src/App.js
Steps to reproduce
one
totwo
An error appears that the username is required, however, if you look at the console output username has a value
Expected behaviour
Calling setValue does not break future onChange calls
if I switch from
setValue
toreset
then things work as expected, however, we make heavy use of setValue in a number of locations on some complex forms.What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: