MCPcopy Index your code
hub / github.com/angular/angular / _updateValue

Method _updateValue

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

Source from the content-addressed store, hash-verified

396 }
397
398 private _updateValue(value: any): void {
399 resolvedPromise.then(() => {
400 this.control.setValue(value, {emitViewToModelChange: false});
401 this._changeDetectorRef?.markForCheck();
402 });
403 }
404
405 private _updateDisabled(changes: SimpleChanges) {
406 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