I am facing an issue with the following code snippet:
<div class="input-field col s12">
<select [(ngModel)]="view.frequency" >
<option value="" disabled selected>Select frequency</option>
<option [value]="1">Never</option>
<option [value]="2">Rarely</option>
<option [value]="3">Sometimes</option>
<option [value]="4">Often</option>
<option [value]="5">Always</option>
</select>
<label>Select frequency</label>
</div>
While on Chrome browser, the output looks as expected. However, when viewed on Edge browser, it seems to disregard the disabled
option and defaults to the first value Never
:
https://i.sstatic.net/7ndRm.png
Can anyone shed some light on why this behavior is occurring?