I am using Yup https://www.npmjs.com/package/yup and I read https://www.npmjs.com/package/yup-password to validate my formik forms.
I do not find a way to have two fields that should be equal to be valid:
- newPassword
- confirmNewPassword
Is there a way to test that both are equal ?