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

Email Id validation fails in AngularJS V1.8.0 #17089

Closed
Vishal-Bhavsar opened this issue Oct 13, 2020 · 1 comment
Closed

Email Id validation fails in AngularJS V1.8.0 #17089

Vishal-Bhavsar opened this issue Oct 13, 2020 · 1 comment

Comments

@Vishal-Bhavsar
Copy link

Hi,

It looks like email id validation fails for AngularJS V1.8.0.
As per document https://docs.angularjs.org/api/ng/input/input%5Bemail%5D the email id me@example is a valid email id but it shouldn't be.

Could you please look in to it and provide resolution for same.

@gkalpak
Copy link
Member

gkalpak commented Oct 13, 2020

This is a duplicate of #16177 (among others 😁).

tl;dr
Such e-mails are valid (see also #14719 for some discussion and links to more info regarding valid e-mail addresses in general).

As mentioned in the docs, if you need different validation rules, you can either use ng-pattern or modify the built-in email validator.

@gkalpak gkalpak closed this as completed Oct 13, 2020
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