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

Function _updateTreeValidity

packages/forms/src/model/abstract_model.ts:1430–1433  ·  view source on GitHub ↗

@internal

(opts: {emitEvent?: boolean} = {emitEvent: true})

Source from the content-addressed store, hash-verified

1428
1429 /** @internal */
1430 _updateTreeValidity(opts: {emitEvent?: boolean} = {emitEvent: true}): void {
1431 this._forEachChild((ctrl: AbstractControl) => ctrl._updateTreeValidity(opts));
1432 this.updateValueAndValidity({onlySelf: true, emitEvent: opts.emitEvent});
1433 }
1434
1435 private _setInitialStatus() {
1436 this.status = this._allControlsDisabled() ? DISABLED : VALID;

Callers

nothing calls this directly

Calls 2

_forEachChildMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…