Reputation: 62444
I'm trying to get the form validation on -URL REMOVED- to trigger when I submit and it's not. I believe I have things setup correctly but am clearly missing something.
Upvotes: 0
Views: 110
Reputation: 10736
Looks like angularjs requires a model bound on an input to use the validation.
See http://jsfiddle.net/adamdbradley/Qdk5M/
Try removing ng-model="email", run, and you'll notice the validation no longer works.
<input type="email" id="inputEmail" placeholder="Email" ng-model="email" required>
vs
<input type="email" id="inputEmail" placeholder="Email" required>
Upvotes: 1