Why is this angular authentication valid?

If you go here and try typing me@mail, you will see that the directive states that the email field is valid. Why is this?

+3
source share
3 answers

Why is it me@mailinvalid?

You do not indicate why you think that this should cause an error, but I believe that what bothers you is the missing point in the domain (so you thought of something like that mail.com).

So, to answer this: Domains should not have a point in them. How about localhostfor example?

root@localhost - . (, mail), root@mail. me, me@mail .

: -)

+10

http://en.wikipedia.org/wiki/Email_address

, .

, , , .

( @) . , , (.. postbox @com)

+1

: https://docs.angularjs.org/api/ng/input/input%5Bemail%5D

"Note: the [email] input uses a regular expression to validate email addresses obtained from the regular expression used in Chromium. If you need more strict verification (for example, requiring a top-level domain ), you can use the ng-template or modify the built-in validators (see forms manual) "

0
source

All Articles