When moving from base react-hook-form to remix-hook-form the browser console (Firefox) started showing this error:
Warning: DetailsForm contains an input of type radio with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components
This is happening with radio inputs defined with the register function from userRemixForm:
When moving from base react-hook-form to remix-hook-form the browser console (Firefox) started showing this error:
This is happening with radio inputs defined with the register function from userRemixForm:
I solved this by restructuring
register
to remove the defaultValue key, but that's not particularly pretty.Thanks for the great library!