2

I have searched and followed the angular code for a long time and cant find where this error message is coming from. I know the validation works but my code only has this:

<span class="error" ng-show="myForm.input.$error.required">
        Required!</span>
      <span class="error" ng-show="myForm.input.$error.email">
        Not valid email!</span></br> 

but this error comes up:enter image description here

I cant even find where a concatenation might produce this. The word "Please" is not even in the angular code.

mike628
  • 45,873
  • 18
  • 40
  • 57

3 Answers3

10

The browser is generating this message, because of HTML5 support of "type='email'".

Mark Rajcok
  • 362,217
  • 114
  • 495
  • 492
10

you can add 'novalidate' in form to disable native HTML5 validation.

<form name="form" class="css-form" novalidate>
Tejas
  • 6,508
  • 1
  • 21
  • 25
2

This is due to HTML5. If you don't want to show these messages, add the following to your css:

::-webkit-validation-bubble-message { display: none; }

However, at the moment this only works for WebKit implementations (Chrome).

More info

Community
  • 1
  • 1
asgoth
  • 35,552
  • 12
  • 89
  • 98