Closed EmielH closed 5 years ago
When ng-model-options is not specified, the default behaviour appears to be that the model is updated immediately on blur. When we add ng-model-options to increase the default debounce duration, like so:
ng-model-options
ng-model-options="{ updateOn: 'default blur', debounce: { 'default': 3000, 'blur': 0 }}"
the model is not updated on blur anymore. It only is updated after three seconds when the default updateOn fires.
See the following Plunker: https://embed.plnkr.co/XYk38kzcLu4sV1lekEKK/
Tested in Chrome and Firefox.
When
ng-model-options
is not specified, the default behaviour appears to be that the model is updated immediately on blur. When we add ng-model-options to increase the default debounce duration, like so:ng-model-options="{ updateOn: 'default blur', debounce: { 'default': 3000, 'blur': 0 }}"
the model is not updated on blur anymore. It only is updated after three seconds when the default updateOn fires.
See the following Plunker: https://embed.plnkr.co/XYk38kzcLu4sV1lekEKK/
Tested in Chrome and Firefox.