-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defaultChecked
property does not work when used in radio children components
#168
Comments
This is tricky. I don't think we're supposed to pass |
@diogob and I discussed it, and we won't try to fix this now because this is not a bug: it's just how RHF works. However, we'll leave the issue open because we might want to remove the prop from the components in v2. |
Steps to reproduce:
defaultChecked
property.Expected result
The radio marked with
defaultChecked
should be selected.Technical details
It seems that we are properly setting the
defaultChecked
and then resetting in theuseEffect
hook used to apply defaults.The text was updated successfully, but these errors were encountered: