add otp required condition

This commit is contained in:
Abhinav 2022-05-20 19:53:37 +05:30
parent b8402724d1
commit 0f266e9f08

View file

@ -74,6 +74,7 @@ function ChangeEmailForm() {
email: Yup.string()
.email(constants.EMAIL_ERROR)
.required(constants.REQUIRED),
ott: Yup.string().required(constants.REQUIRED),
})}
validateOnChange={false}
validateOnBlur={false}