select onchange pass option value in angular 6 code example
Example: select onchange pass option value in angular 6
<select (change)="onChange($event.target.value)">
<option *ngFor="let i of devices">{{i}}</option>
</select>
onChange(deviceValue) {
console.log(deviceValue);
}