Answers for "angular 8 on change event select"

1

angular select change

<select (change)="onChange($event.target.value)">
    <option *ngFor="let i of devices">{{i}}</option>
</select>

onChange(deviceValue) {
    console.log(deviceValue);
}
Posted by: Guest on August-21-2021

Code answers related to "angular 8 on change event select"

Code answers related to "Javascript"

Browse Popular Code Answers by Language