Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86cbdb8

Browse files
joakimblpetebacondarwin
authored andcommitted
doc(ngModel): $setViewValue calls all parsers, not formatters
1 parent 11ee680 commit 86cbdb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
985985
* For example {@link ng.directive:input input} or
986986
* {@link ng.directive:select select} directives call it.
987987
*
988-
* It internally calls all `formatters` and if resulted value is valid, updates the model and
988+
* It internally calls all `parsers` and if resulted value is valid, updates the model and
989989
* calls all registered change listeners.
990990
*
991991
* @param {string} value Value from the view.

0 commit comments

Comments
 (0)