Version Number
7.79.0
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/yrk669
Steps to reproduce
- click on "clear" button
- the "plain" input gets cleared
- the object one "data.type" does not
Expected behaviour
When the value is an object and I set it to null, the useControllers that are subscribed to its properties to be null too. Currently the form values are out of sync with the value from useController.
The values from useWatch and useController are different
What browsers are you seeing the problem on?
Chrome
Code of Conduct
Version Number
7.79.0
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/yrk669
Steps to reproduce
Expected behaviour
When the value is an object and I set it to null, the useControllers that are subscribed to its properties to be null too. Currently the form values are out of sync with the value from useController.
The values from useWatch and useController are different
What browsers are you seeing the problem on?
Chrome
Code of Conduct