Open anickell opened 9 years ago
Good point!
I am working on this. But I am going through a way to use a custom rule strategy for this kind of scenario
In applications of mine, for instance, the unique requirement for an e-mail is if it has the @ character.
1+
The current regex for email validation allows invalid TLDs. Example, anickell@gmail.c passes the validation, but single-character TLDs are invalid.
This creates an issue in our code, because our server side validation fails in that case, whereas we want the failure to happen in the client, when the user could have a more friendly experience.