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

Method _syncPendingControls

packages/forms/src/model/form_array.ts:515–521  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

513
514 /** @internal */
515 override _syncPendingControls(): boolean {
516 let subtreeUpdated = (this.controls as any).reduce((updated: any, child: any) => {
517 return child._syncPendingControls() ? true : updated;
518 }, false);
519 if (subtreeUpdated) this.updateValueAndValidity({onlySelf: true});
520 return subtreeUpdated;
521 }
522
523 /** @internal */
524 override _forEachChild(cb: (c: AbstractControl, index: number) => void): void {

Callers

nothing calls this directly

Calls 3

reduceMethod · 0.80
_syncPendingControlsMethod · 0.65

Tested by

no test coverage detected