@wagnnermorais
Posted
good job, nice animation on inputs fields btw.
i suggest you take a better look in the validation itself, i tried to register the following user and it passed:
first name: w last name: m email: was@123 password: 1
implementing some minimum lengths in each input should work, and about the email input, would be nice to validate with an email regex, theres a lot content in the web about patterns of email validations.
Marked as helpful
@PradneyaSP
Posted
@wagnnermorais Thank you very much for the review🙌. It was my first time making a form validation component. I will definitely implement your suggestions.
Edit: I just wanted to say that in India there are people with initials as their first name( Ex: S Somanath ). That is the reason I didn't put any minimum length. I have implemented the code about regex though! Thanks again !!
@wagnnermorais
Posted
@PradneyaSP i didnt know about that, thanks for sharing this. :)