Permalink
Browse files

docs(guide/Forms): describe your change...

angular data binding fails when input type is "email", switching to "text" makes the sample work
  • Loading branch information...
cullen-tsering committed Aug 11, 2016
1 parent 859348c commit 6fa06476dbd1c3efe4b5077cf6eccf752d611646
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/content/guide/forms.ngdoc
@@ -27,7 +27,7 @@ for other directives to augment its behavior.
<div ng-controller="ExampleController">
<form novalidate class="simple-form">
Name: <input type="text" ng-model="user.name" /><br />
E-mail: <input type="email" ng-model="user.email" /><br />
E-mail: <input type="text" ng-model="user.email" /><br />
Gender: <input type="radio" ng-model="user.gender" value="male" />male
<input type="radio" ng-model="user.gender" value="female" />female<br />
<input type="button" ng-click="reset()" value="Reset" />
@@ -89,7 +89,7 @@ and failing to satisfy its validity.
<div ng-controller="ExampleController">
<form novalidate class="css-form">
Name: <input type="text" ng-model="user.name" required /><br />
E-mail: <input type="email" ng-model="user.email" required /><br />
E-mail: <input type="text" ng-model="user.email" required /><br />
Gender: <input type="radio" ng-model="user.gender" value="male" />male
<input type="radio" ng-model="user.gender" value="female" />female<br />
<input type="button" ng-click="reset()" value="Reset" />

1 comment on commit 6fa0647

@cullen-tsering

This comment has been minimized.

Owner

cullen-tsering commented on 6fa0647 Aug 11, 2016

after reading this issue: angular#1426
the above change may not be necessary

Please sign in to comment.