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

Class MyOptionalFvcInput

packages/forms/signals/test/web/reactive_fvc.spec.ts:1160–1164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1158
1159 it('should reset custom control view value when a pending undefined value is discarded', () => {
1160 @Component({selector: 'my-optional-fvc-input', template: ''})
1161 class MyOptionalFvcInput implements FormValueControl<string | undefined> {
1162 readonly value = model<string | undefined>();
1163 readonly touch = output<void>();
1164 }
1165
1166 @Component({
1167 template: `<my-optional-fvc-input [formControl]="ctrl" />`,

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
outputFunction · 0.90

Tested by

no test coverage detected