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

Method _updateValue

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

Source from the content-addressed store, hash-verified

423 }
424
425 private _updateValue(value: any): void {
426 resolvedPromise.then(() => {
427 this.control.setValue(value, {emitViewToModelChange: false});
428 this._changeDetectorRef?.markForCheck();
429 });
430 }
431
432 private _updateDisabled(changes: SimpleChanges) {
433 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