Closed piehouserat closed 4 years ago
Describe the bug When using a controlled component such as Material UI's radio group along with validation rules, validation errors are not cleared when the component is made valid
To Reproduce Steps to reproduce the behavior:
Codesandbox link https://codesandbox.io/s/react-hook-form-rhfinput-vh5qc
Expected behavior Validation errors should disappear when the component is made valid using the default form mode of 'onChange'
you can add mode="onChange" to trigger validation onChange.
mode="onChange"
onChange
Describe the bug When using a controlled component such as Material UI's radio group along with validation rules, validation errors are not cleared when the component is made valid
To Reproduce Steps to reproduce the behavior:
Codesandbox link https://codesandbox.io/s/react-hook-form-rhfinput-vh5qc
Expected behavior Validation errors should disappear when the component is made valid using the default form mode of 'onChange'