-
Notifications
You must be signed in to change notification settings - Fork 98
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
FormCheckbox and FormRadio don't check #38
Comments
riancz
changed the title
Checkbox and Radio box doesnt
Checkbox and Radio box doesn't work
Aug 7, 2020
riancz
changed the title
Checkbox and Radio box doesn't work
FormCheckbox and FormRadio don't check
Aug 7, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys,
the FormCheckbox and FormRadio doesn't work when "onChange" and "checked" are not provided.
I found out that one of the label is missing
htmlFor={id}
which would fix this problem.PS: The FormCheckbox and FormRadio doesn't integrate well with react-hook-form. Any idea what's the problem?
The text was updated successfully, but these errors were encountered: