react-hook-form: [React-Native] Auto validation problem on submit

Describe the question? When I press the submit button with invalid fields (when the ‘firstName’ field is empty), it doesn’t show the error field on screen and console says : Possible Unhandled Promise Rejection (id: 0): ReferenceError: Node is not defined ReferenceError: Node is not defined [...]

What’s wrong with my code? Can you help me about that?

Screenshots

Screen Shot 2020-02-11 at 11 28 57 Screen Shot 2020-02-11 at 11 30 07

Versions "react": "16.9.0", "react-hook-form": "4.9.2", "react-native": "0.61.5"

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 21 (13 by maintainers)

Most upvoted comments

It worked for me! Thank very mach for the quick fix !

I had the same error than @enestasdemir, but its gone with react-hook-form@4.9.3-beta.2 !

It worked for me. Thank you so much 😊

thank you very much for the verification. I will release the patch. @NicoleEtLui much appreciated.