MCPcopy Create free account
hub / github.com/angular/angular / TestStringControl

Class TestStringControl

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected