issue: watch
the field in Controller
with defaultValues
and shouldUnregister: true
return undefined
#10096
Closed
1 task done
Labels
status: under investigation
aware of this issue and pending for investigation
Version Number
^7
Codesandbox/Expo snack
https://codesandbox.io/s/angry-microservice-l3z1ru?file=/package.json
Steps to reproduce
firstName undefined
due to the latest render.Expected behaviour
The result should be
firstName a
.Either delete
shouldUnregister: true
or using register instead of controller would behave normally, but in my case, Controller andshouldUnregister: true
are both necessary.What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: