0

I have select list that is reproduced by ng-options:

<select  class="form-control" ng-options="i.id as i.os_version for i in devices track by i.id"
ng-model="selected_version_os_to" ng-change="selectVersionTo(selected_version_os_to)">
</select>

It generates options as:

<option label="10.3" value="1">10.3</option>

How to select option where value == 1 or any another number?

I tried in select tag:

ng-selected="i.id == 1"
Daniel
  • 1,695
  • 6
  • 23
  • 41

0 Answers0