(isFormGroup: boolean)
| 146 | } |
| 147 | |
| 148 | export 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 | |
| 157 | export function missingControlError(isFormGroup: boolean, key: string | number): string { |
| 158 | return `Cannot find form control ${describeKey(isFormGroup, key)}`; |
no outgoing calls
no test coverage detected
searching dependent graphs…