Version Number
7.80
Codesandbox/Expo snack
https://codesandbox.io/p/devbox/zealous-brook-4nqqqz
Steps to reproduce
- Click on the reset button.
undefined is printed
- Type
a into the firstName field. firstName is printed
- Click the reset button again. Now,
firstName is printed
Expected behaviour
When a subscription callback is triggered from a reset call, the name should be undefined, not the value of the last field that was edited with setValue
What browsers are you seeing the problem on?
Chrome
Relevant log output
Code of Conduct
Version Number
7.80
Codesandbox/Expo snack
https://codesandbox.io/p/devbox/zealous-brook-4nqqqz
Steps to reproduce
undefinedis printedainto thefirstNamefield.firstNameis printedfirstNameis printedExpected behaviour
When a subscription callback is triggered from a
resetcall, thenameshould beundefined, not the value of the last field that was edited withsetValueWhat browsers are you seeing the problem on?
Chrome
Relevant log output
Code of Conduct