Skip to content

Playing around with custom form validation

Notifications You must be signed in to change notification settings

gkindel/password-form-validate

Repository files navigation

PasswordInput component

This component was built upon request for a take-home interview prompt.

Using React, write a password entry library that meets the following requirements:

Has two input fields to validate the entry from the user (both inputs must match)
Password has a min length of 6 characters
Password has at least 1 uppercase character
Password has at least 1 lowercase character
Password has at least 1 number
Password has at least 1 special character (!@#$%^&*()_-+={[}]|:;"'<,>.)

Has a submit button that will trigger validation and present success or why the password entry failed

See it in action: example

Read the docs: storybook

About

Playing around with custom form validation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published