In my current project, I am utilizing AngularJS to implement ng-options for creating a <select> element.
Upon the initial page load with no option selected, the generated HTML appears as follows:
<select size="3" ng-model="item" ng-options="s.name for s in itemlist">
<option value="?" selected="selected"></option>
<option value="0">Item 1</option>
<option value="1">Item 2</option>
<option value="2">Item 3</option>
</select>
However, once an element is selected (e.g. Item 2), the blank first select disappears. This behavior occurs because the ng-model is set by the selected value. My intention is to always keep the first select option blank so that users can easily reset the filter.