MCPcopy Create free account
hub / github.com/angular/angular / _updateValue

Method _updateValue

packages/forms/src/directives/ng_model.ts:415–420  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

413 }
414
415 private _updateValue(value: any): void {
416 resolvedPromise.then(() => {
417 this.control.setValue(value, {emitViewToModelChange: false});
418 this._changeDetectorRef?.markForCheck();
419 });
420 }
421
422 private _updateDisabled(changes: SimpleChanges) {
423 const disabledValue = changes['isDisabled'].currentValue;

Callers 1

ngOnChangesMethod · 0.95

Calls 3

markForCheckMethod · 0.80
thenMethod · 0.65
setValueMethod · 0.65

Tested by

no test coverage detected