fix(forms): fully support rebinding form group directive (#11051)
This commit is contained in:
@ -519,6 +519,14 @@ export class FormControl extends AbstractControl {
|
||||
*/
|
||||
registerOnChange(fn: Function): void { this._onChange.push(fn); }
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
_clearChangeFns(): void {
|
||||
this._onChange = [];
|
||||
this._onDisabledChange = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a listener for disabled events.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user