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

Email validation not correct #7979

Closed
Closed

Description

@seminda

When we use email validation its work. but if you type email 'something@some' its validate it as correct. if we put 'something@some.'then its start validate again.

Activity

  1. caitp commented on Jun 25, 2014

    @caitp
    Contributor

    that's because something@some is an actually valid email address!

    There are more advanced things you can do to validate email addresses, like pattern validation with ng-pattern, asynchronous validation to test if it's an actual account on your server, etc (Matsko has an example of this sort of validation with a nice UI using the new ngMessages module on his blog), or just a custom extra validator directive.

    We're thinking about making it easier to insert custom email validation rules, but my personal opinion is that input[type=email] should behave the way native HTML email validation behaves, and you can tack on extra validation logic separately.

    Anyways, since this is a dupe (#7705, #7798, etc), I think we can close this and carry on the discussion elsewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions