SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix(ngModelController): introduce $cancelUpdate to cancel pending updates

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
S
Shahar Talmi committed
940fcb4090e96824a4abc50252aa36aaf239e937
Parent: b389cfc
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 4/8/2014, 2:19:42 PM