Answers for "how to do password confirm 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 do password confirm in Yup"

Browse Popular Code Answers by Language