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

Class CustomControlWithName

packages/forms/signals/test/web/interop.spec.ts:667–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665
666 it('should be able to set the `name` non-signal input on a custom CVA', () => {
667 @Component({
668 selector: 'custom-control-with-name',
669 template: '',
670 providers: [{provide: NG_VALUE_ACCESSOR, useExisting: CustomControlWithName, multi: true}],
671 })
672 class CustomControlWithName extends CustomControl {
673 @Input() name = '';
674 }
675
676 @Component({
677 imports: [CustomControlWithName, FormField],

Callers

nothing calls this directly

Calls 3

ComponentInterface · 0.90
InputInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected