You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey, @giovannipiller for the controlled components you could host your own local state, Controller or useController just a headless component or hook to collect and validate data. The same reason some of the additional props is not migrate to controlled, because when you build a controlled component, you are having the control already.
On version 7.30.0 it has been added support for determining checkbox group based on the defaultValues (#7938).
This however seems to be limited fields created via
register(...)
-> https://codesandbox.io/s/rhf-register-oef6f9-oef6f9There are two more scenarios that would be nice to cover:
defaultValue
viauseController
:useController
rather thanregister
to setup the field:Any thoughts?
The text was updated successfully, but these errors were encountered: