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

Class CustomControlWithName

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

Source from the content-addressed store, hash-verified

672
673 it('should be able to set the `name` non-signal input on a custom CVA', () => {
674 @Component({
675 selector: 'custom-control-with-name',
676 template: '',
677 providers: [{provide: NG_VALUE_ACCESSOR, useExisting: CustomControlWithName, multi: true}],
678 })
679 class CustomControlWithName extends CustomControl {
680 @Input() name = '';
681 }
682
683 @Component({
684 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