(isFormGroup: boolean)
| 136 | } |
| 137 | |
| 138 | export function noControlsError(isFormGroup: boolean): string { |
| 139 | return ` |
| 140 | There are no form controls registered with this ${ |
| 141 | isFormGroup ? 'group' : 'array' |
| 142 | } yet. If you're using ngModel, |
| 143 | you may want to check next tick (e.g. use setTimeout). |
| 144 | `; |
| 145 | } |
| 146 | |
| 147 | export function missingControlError(isFormGroup: boolean, key: string | number): string { |
| 148 | return `Cannot find form control ${describeKey(isFormGroup, key)}`; |
no outgoing calls
no test coverage detected