Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8199f4d

Browse files
Charcabtford
authored andcommitted
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'
1 parent 313d795 commit 8199f4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/content/guide/forms.ngdoc

+1
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ only when the control loses focus (blur event).
213213
<input type="text" ng-model="user.data" /><br />
214214
</form>
215215
<pre>username = "{{user.name}}"</pre>
216+
<pre>userdata = "{{user.data}}"</pre>
216217
</div>
217218
</file>
218219
<file name="script.js">

0 commit comments

Comments
 (0)