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

Class CustomControlWithName

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

Source from the content-addressed store, hash-verified

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