Answers for "how to validate two passwords are the same in yup"

3

how to do password confirm in Yup

passwordConfirm: Yup.string()
+               .label('Password Confirm')
+               .required()
+               .oneOf([Yup.ref('password')], 'Passwords does not match'),
Posted by: Guest on August-10-2020

Code answers related to "how to validate two passwords are the same in yup"

Browse Popular Code Answers by Language