mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 12:05:46 +08:00
doc(ngModel): $setViewValue calls all parsers, not formatters
This commit is contained in:
committed by
Pete Bacon Darwin
parent
2ab4fde817
commit
782a82d461
@@ -1018,7 +1018,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
|
||||
* For example {@link ng.directive:input input} or
|
||||
* {@link ng.directive:select select} directives call it.
|
||||
*
|
||||
* It internally calls all `formatters` and if resulted value is valid, updates the model and
|
||||
* It internally calls all `parsers` and if resulted value is valid, updates the model and
|
||||
* calls all registered change listeners.
|
||||
*
|
||||
* @param {string} value Value from the view.
|
||||
|
||||
Reference in New Issue
Block a user