menu

React Hook Form

馃搵 Custom React hooks for form validation without the hassle

Channels
Team
Posts
Members
Info

useForm import error

I want to use react-hook-form in my react class component, when i am trying to I am getting regiseter property not defined .... errors getting.

thumbsup
0
message-simple
2

Reload form defaultValues

Hi! Firstly thanks for awesome lib. I create component with form and need to update form values when data in props update component. Default value don't reload after rerender component and setValue not working for me. How i can reload form data after every update component?

thumbsup
1
message-simple
7