Top "React-hook-form" questions

React form library using hooks

How to change React-Hook-Form defaultValue with useEffect()?

I am creating a page for user to update personal data with React-Hook-Form. Once paged is loaded, I use useEffect …

javascript reactjs react-hooks react-hook-form
react-hook-form's setValue method is not working if input is in material ui dialog

I tried to use react-hook-form to validate inputs. But I found that if the input is placed in Material UI's …

reactjs material-ui react-hook-form
Is it possible to use react-datepicker with react hooks forms?

Is it possible to use react-datepicker with react hooks forms? I tried following sample: https://codesandbox.io/s/awesome-shape-j0747?fontsize=14&…

reactjs react-datepicker react-hook-form
Proper way to use react-hook-form Controller with Material-UI Autocomplete

I am trying to use a custom Material-UI Autocomplete component and connect it to react-hook-form. TLDR: Need to use MUI …

reactjs material-ui react-hook-form
How to use react-hook-form with ant design or material UI

I'm trying to use react-hook-form library to validate a form. When I render view using ant design or material UI, …

reactjs material-ui antd react-hook-form
how to make react-hook-form work with multiple forms in one page?

I am using react-hook-form in my project and I have 2 totally separate forms, but when I submit one of the …

javascript reactjs react-hook-form
React-hook-form's 'reset' is working properly, input fields are still not emptying after submit

I've tried using the "reset" function form react-hook-form but after submitting the input fields are not emptying. I don't know …

reactjs react-hooks react-hook-form
React Hook Form Controller Issues

I have been using react hook form library with native elements but would like to switch to custom components using …

javascript reactjs react-hooks react-hook-form
Returning correct value using react-select and react-hook-form

I'm using react-hook-forms Controller api around AsyncSelect from react-select to load options as the user types from an external API. …

reactjs react-select react-hook-form
How do I store the state of radio groups in React using react-hook-form

I'm using react-hook-form to store form data that is split into two pages as per the code seen on Codesandbox.…

javascript reactjs react-hook-form