mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08:00
docs(guide/forms): improve example
When explaining ng-model-options, there's no print of `user.data` to show the difference between the default behaviour and updateOn: 'blur'
This commit is contained in:
committed by
Brian Ford
parent
313d7956e4
commit
8199f4dbde
@@ -213,6 +213,7 @@ only when the control loses focus (blur event).
|
||||
<input type="text" ng-model="user.data" /><br />
|
||||
</form>
|
||||
<pre>username = "{{user.name}}"</pre>
|
||||
<pre>userdata = "{{user.data}}"</pre>
|
||||
</div>
|
||||
</file>
|
||||
<file name="script.js">
|
||||
|
||||
Reference in New Issue
Block a user