| 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], |