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

Function missingControlError

packages/forms/src/directives/reactive_errors.ts:147–149  ·  view source on GitHub ↗
(isFormGroup: boolean, key: string | number)

Source from the content-addressed store, hash-verified

145}
146
147export function missingControlError(isFormGroup: boolean, key: string | number): string {
148 return `Cannot find form control ${describeKey(isFormGroup, key)}`;
149}
150
151export function missingControlValueError(isFormGroup: boolean, key: string | number): string {
152 return `Must supply a value for form control ${describeKey(isFormGroup, key)}`;

Callers 1

assertControlPresentFunction · 0.90

Calls 1

describeKeyFunction · 0.85

Tested by

no test coverage detected