-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation for password confirmation does not work #2206
Comments
got the same error. I have no idea what is it |
Gotta provide a Repro i can look at, that doesn't include other libraries |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
This is the code I have for Confirmpassword validation:
confirmPassword: yup.string() .oneOf([yup.ref('password')], 'Passwords should match.')
But when I only type password and don't type anything in confirmPassword field,(Empty confirmPassword). I don't get the error of "Passwords should match"
Expected behavior
I should get error of Password should match
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: