Answers for "how can we set password to confirm password with yup and formik"

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 can we set password to confirm password with yup and formik"

Browse Popular Code Answers by Language