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

Class TestStringControl

packages/forms/signals/test/web/form_field.spec.ts:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83@Component({
84 selector: 'string-control',
85 template: `<input [formField]="formField()" />`,
86 imports: [FormField],
87})
88class TestStringControl {
89 readonly formField = input.required<Field<string>>();
90 readonly fieldDirective = viewChild.required(FormField);
91}
92
93describe('field directive', () => {
94 describe('field input', () => {

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…