0

In other words I want to disable angular email validation and use only ng-pattern validation. How I can do it?

Plunker example (me&@example.com need to be valid email address)

3 Answers 3

2

replace the type from email to text,

<input type="email" .....>

by

<input type="text" .....>
Sign up to request clarification or add additional context in comments.

1 Comment

This solution breaks the semantic structure of page. Is any other solutions?
1

Set email to text and regex to this.

<input type="text" name="input" ng-model="text" ng-pattern='/^[a-z]+[a-z0-9._]+@[a-z]+\.[a-z.]{2,5}$/' required>

Comments

0

In my case I decide to use default AngularJS email validation till update to 1.3 version or higher. In higher version I haven't this bug.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.