You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
Browser chrome
Version 123.0.6312.124
The text was updated successfully, but these errors were encountered:
motisaa
changed the title
ConfirmPassword validation does not work
validation for password confirmation does not work
Apr 23, 2024
motisaa
changed the title
validation for password confirmation does not work
Validation for password confirmation does not work
Apr 23, 2024
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: