Answers for "yup schema confirm password"

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 "yup schema confirm password"

Browse Popular Code Answers by Language