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

Skip to content

Commit 782a82d

Browse files
joakimblpetebacondarwin
authored andcommitted
doc(ngModel): $setViewValue calls all parsers, not formatters
1 parent 2ab4fde commit 782a82d

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
@@ -1018,7 +1018,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
10181018
* For example {@link ng.directive:input input} or
10191019
* {@link ng.directive:select select} directives call it.
10201020
*
1021-
* It internally calls all `formatters` and if resulted value is valid, updates the model and
1021+
* It internally calls all `parsers` and if resulted value is valid, updates the model and
10221022
* calls all registered change listeners.
10231023
*
10241024
* @param {string} value Value from the view.

0 commit comments

Comments
 (0)