The current scenario is in such a way that a drop down containing multiple options.
` value: Values[] = [
{ value: '1', viewValue: '1' },
{ value: '2', viewValue: '2' },
{ value: '3', viewValue: '3' }
];`
<select formControlName="item">
<option *ngFor="let i of foods" [value]="i.value">{{i.value}}</option>
</select>
The requirement is that if I click 1 on the keyboard, then the option 1 needs to be selected. Can hostListner can be implemented here.? Are there any examples that can be used.?