Hello I have the same issue
i have strange option like this
<option value="? string:98 ?"></option>
Html Code
<select ng-model="vm.student" class="form-control">
<option value="0">All</option>
<option data-ng-repeat="src in vm.studentList" value="{{ src.Id }}"> {{
src.Value }} </option>
</select>
and the default value go in the bottom doesn't appear I am trying many ways to fix this problem but unfortunately, no way work well
I hope to help me to fix this issue
thanks
Use the
ng-value
directive:For more information,
ngValue
to bind the model to an array of objectsngRepeat
to generateselect
options