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
If I validate a property to be email format, the error message on failed validation is something like this:
The ‘email’ does not match the ‘/^(?:[\w!#$%&'_+-/=?^`{|}~]+.)_[\w!#$%&'*+-/=?^`{|}~]+@(?:(?:(?:a-zA-Z0-9{0,61}[a-zA-Z0-9]?.)+a-zA-Z0-9{0,61}[a-zA-Z0-9]?)|(?:[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5]).){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])]))$/’ pattern.
I think this might be useful to know the pattern that its being compared against for the developer, but as a user this error message is like waaaa?
Not necessarily a bug, but I imagine a more friendly error message would be that 'email' was not a valid email address.
The text was updated successfully, but these errors were encountered:
If I validate a property to be email format, the error message on failed validation is something like this:
The ‘email’ does not match the ‘/^(?:[\w!#$%&'_+-/=?^`{|}~]+.)_[\w!#$%&'*+-/=?^`{|}~]+@(?:(?:(?:a-zA-Z0-9{0,61}[a-zA-Z0-9]?.)+a-zA-Z0-9{0,61}[a-zA-Z0-9]?)|(?:[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5]).){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])]))$/’ pattern.
I think this might be useful to know the pattern that its being compared against for the developer, but as a user this error message is like waaaa?
Not necessarily a bug, but I imagine a more friendly error message would be that 'email' was not a valid email address.
The text was updated successfully, but these errors were encountered: