Design comparison
SolutionDesign
Community feedback
- @hensco95Posted over 1 year ago
Great Job Denis. I especially liked the valid format you used that validates the email as the user types. How did you implement that? Kudos
0@OTF31Posted over 1 year ago@hensco95 Thanks, well I used the library
react-hook-form
for that, specifically this property (mode
in the hookuseForm
) to validate the form when the user submits the form, as he types, when the focus is removed from the text field, etc ...I think the default value is
onChange
, then it validates as the user types.0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord