| 169 | |
| 170 | it(`should not treat component with '[formField]' input as a control`, () => { |
| 171 | @Component({template: ''}) |
| 172 | class TestCmp { |
| 173 | readonly formField = input.required<Field<string>>(); |
| 174 | readonly value = model.required<string>(); |
| 175 | } |
| 176 | |
| 177 | const environmentInjector = TestBed.inject(EnvironmentInjector); |
| 178 | const control = TestBed.runInInjectionContext(() => { |