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

Method constructor

packages/forms/signals/src/field/submit.ts:26–31  ·  view source on GitHub ↗
(private readonly node: FieldNode)

Source from the content-addressed store, hash-verified

24 readonly submissionErrors: WritableSignal<readonly ValidationError.WithFieldTree[]>;
25
26 constructor(private readonly node: FieldNode) {
27 this.submissionErrors = linkedSignal({
28 source: this.node.structure.value,
29 computation: () => [] as readonly ValidationError.WithFieldTree[],
30 });
31 }
32
33 /**
34 * Whether this form is currently in the process of being submitted.

Callers

nothing calls this directly

Calls 1

linkedSignalFunction · 0.90

Tested by

no test coverage detected