Email Validator should be case-insensitive
VishnuPrabhu opened this issue · 8 comments
validating the string mail@GMAIL.com
is failing, because of case sensitive.
Hey @VishnuPrabhu mail providers don't actually care about case sensitivity so this's actually a valid email address.
Hi @Milad-Akarie , yes thats the expected. But actually, it is throwing error for above case.
are there any fixes?
@ayberkcal If you look at source code after getting 1.0.1 v from pub.dev, you can see that there is no "caseSensetive: false" there.
@Milad-Akarie I've specified direct link to git repository, and now everything works fine (there is caseSensitive in the sources). Maybe something is wrong with versioning? And pub.dev cached previous version of the package.
Problem still persists, Please update the package
@ManojMMWWIndia
As a temporary solution add:
form_field_validator:
git: https://github.com/Milad-Akarie/form_field_validator.git
To pubspec.yaml. Also delete form_field_validator entry from pubspec.lock.