Thanks to visit codestin.com
Credit goes to github.com

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.

input type="email" with trailing numbers binds to undefined  #4275

Closed
@rschooley

Description

@rschooley

If an email has a trailing number (or -) it passes validation, but results in undefined.

testbed:
http://embed.plnkr.co/QxQmM2o6IS2ulhCvVKDf/preview

scenarios:

verified in angular versions:

  • 1.0.7
  • 1.0.8
  • 1.1.5
  • 1.2.0-rc2

Apparently it is legal to end with a number:

And after looking at that regex a - also causes the same undefined behavior

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions