You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1906 see the section on email validation. yup matches browsers, that is infact a valid email address, it may not for your app though so you are encouraged to update or extend to meet your own needs
Describe the bug
I'm using yup.string().email() to validate the email, but some invalid email addresses are returned as valid.
To Reproduce
The invalid email: 'email@email'
The validation schema: yup.string().email()
Expected behavior
It should return as invalid, but currently it's passing validation with flying color.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: