I’m having an issue with the ionic select menu and using ng-model with a default option. This code will not default to the selected value:
<select ng-model="input.test">
<option>Select 1</option>
<option selected>Select 2</option>
</select>
But if I lose the ng-model in the code, it then defaults to Select 2.
<select>
<option>Select 1</option>
<option selected>Select 2</option>
</select>
Can anyone shed some light as to why this may be happening?