docs: value changes emits on additional events documented (#34497)

The value changes emitted additionally when enable disable were called
documented the above behaviour in AbstractControl class documentaion

Fixes #34407

PR Close #34497
This commit is contained in:
ajitsinghkaler 2020-01-22 21:41:30 +05:30 committed by Andrew Kushnir
parent 5aa0507f6a
commit fa8d324929
1 changed files with 2 additions and 1 deletions

View File

@ -294,7 +294,8 @@ export abstract class AbstractControl {
/**
* A multicasting observable that emits an event every time the value of the control changes, in
* the UI or programmatically.
* the UI or programmatically. It also emits an event each time you call enable() or disable()
* without passing along {emitEvent: false} as a function argument.
*/
// TODO(issue/24571): remove '!'.
public readonly valueChanges !: Observable<any>;