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

Function noControlsError

packages/forms/src/directives/reactive_errors.ts:148–155  ·  view source on GitHub ↗
(isFormGroup: boolean)

Source from the content-addressed store, hash-verified

146}
147
148export function noControlsError(isFormGroup: boolean): string {
149 return `
150 There are no form controls registered with this ${
151 isFormGroup ? 'group' : 'array'
152 } yet. If you're using ngModel,
153 you may want to check next tick (e.g. use setTimeout).
154 `;
155}
156
157export function missingControlError(isFormGroup: boolean, key: string | number): string {
158 return `Cannot find form control ${describeKey(isFormGroup, key)}`;

Callers 1

assertControlPresentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…