Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7dd42d3

Browse files
committed
docs(ngModel): fix typo and rephrase for simplicity
1 parent 7d9a791 commit 7dd42d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng/directive/ngModel.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -428,12 +428,12 @@ NgModelController.prototype = {
428428
*
429429
* @description
430430
* Cancel an update and reset the input element's value to prevent an update to the `$modelValue`,
431-
* which may be caused by a pending debounced event or because the input is waiting for a some
431+
* which may be caused by a pending debounced event or because the input is waiting for some
432432
* future event.
433433
*
434434
* If you have an input that uses `ng-model-options` to set up debounced updates or updates that
435-
* depend on special events such as blur, you can have a situation where there is a period when
436-
* the `$viewValue` is out of sync with the ngModel's `$modelValue`.
435+
* depend on special events such as `blur`, there can be a period when the `$viewValue` is out of
436+
* sync with the ngModel's `$modelValue`.
437437
*
438438
* In this case, you can use `$rollbackViewValue()` to manually cancel the debounced / future update
439439
* and reset the input to the last committed view value.

0 commit comments

Comments
 (0)