reusable component in angular
问题 im trying to create my own select component so the final result will be like that in app.components.html for example <div> <app-my-select [(ngModel)]="val"> <app-my-option value="1" >one</app-my-option> <app-my-option value="2" >two</app-my-option> <app-my-option value="3" >three</app-my-option> <app-my-option value="4" >four</app-my-option> </app-my-select> </div> in my-select.component.html <input (click)="openPanel()" class="select-value-container" readonly (keydown)="keyDown($event.key)"