Hi,
I'm working with prime react & react-hook form validation.
But i couldnt get defaultvalues in useEffect. Or I cant set values from api in useEffect. what must i do for this? I'm using component inside components
MasterComponent
childcomponent 1
childcomponent 2
Master component includes two or more child component. And my submit button is in master component.
Here is a sample for only load values from api.
https://codesandbox.io/s/angry-gagarin-ypb3d
React-hook form validation with prime
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks a lot for the sample! @mcan could you please check this issue?
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests