Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Email type is not validated properly in angularjs 1.3.4 version #11385

Closed
jkpatil211 opened this issue Mar 20, 2015 · 1 comment
Closed

Email type is not validated properly in angularjs 1.3.4 version #11385

jkpatil211 opened this issue Mar 20, 2015 · 1 comment

Comments

@jkpatil211
Copy link

I am using form validation using angularjs version 1.3.14.
but the email is not validated properly
when I type "jkpatil211@gmail" it accepts it as valid email format (actually it is not).
When I use version 1.2.6 it validates email properly.
You can check the code at following link.
Try changing angular version.
http://plnkr.co/edit/lCRwhj?p=preview

@Narretz
Copy link
Contributor

Narretz commented Mar 20, 2015

Actually it is a valid email. You don't need a top level domain (e.g. intranet email). If you want to harden your validation, you can use ngPattern or modify the built-in validator, see https://docs.angularjs.org/guide/forms

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants