Fixed
First, thanks for the idea of a wrapper for forms with react native!
I tried your fixed version and came to the same resolution, that the validation isn't working well.
Example: Enter the following values on your prototype (snack.expo.io/@yjose/form-in-react... Name: asdf Email: asdf -> then correct to aasdf@gmail.com Password: anything you want
-> submit
Result: all fields are invalid :-( Hopefully you can help me out
please check Now, the demo example is working as expected ( look like the new react-hook-form have some breaking changes )
react-hook-form
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Fixed
First, thanks for the idea of a wrapper for forms with react native!
I tried your fixed version and came to the same resolution, that the validation isn't working well.
Example:
Enter the following values on your prototype (snack.expo.io/@yjose/form-in-react...
Name: asdf
Email: asdf -> then correct to aasdf@gmail.com
Password: anything you want
-> submit
Result: all fields are invalid :-( Hopefully you can help me out
please check Now, the demo example is working as expected ( look like the new
react-hook-form
have some breaking changes )