Where is the 'Please fill in this field' popup coming from

8,036 views
Skip to first unread message

zdam

unread,
Apr 16, 2012, 3:27:08 AM4/16/12
to ang...@googlegroups.com
Hi,

I have added required attributes to some of my fields in a form, now when I attempt to submit, I get a little popup with a exclamation mark that says 'Please fill in this field'

Where is this coming from, how can I control it? 

I have tried using the css classes ng-invalid, ng-valid, ng-pristine, ng-dirty, but this has not affected this little popup.

Thanks, Adam.

Eric Jain

unread,
Apr 16, 2012, 1:00:27 PM4/16/12
to AngularJS
It's an HTML5 feature with browser-specific implementations, see
http://stackoverflow.com/questions/5713405/how-do-you-style-the-html5-form-validation-messages.

Johan

unread,
Apr 19, 2012, 12:01:07 AM4/19/12
to ang...@googlegroups.com
Add novalidate to your form tag : <form name="myForm" novalidate>
Reply all
Reply to author
Forward
0 new messages