shards-react
shards-react copied to clipboard
FormCheckbox and FormRadio don't check
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?