mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 17:01:19 +08:00
The `$cancelUpdate()` method on `NgModelController` cancels any pending debounce action and resets the view value by invoking `$render()`. This method should be invoked before programmatic update to the model of inputs that might have pending updates due to `ng-model-options` specifying `updateOn` or `debounce` properties. Fixes #6994 Closes #7014