I have the following code:
var options = ["option1", "option2", "option3"]
<div ng-repeat="fir in getTimes(3)">
<select ng-model="spAnswer[$index].importance">
<option ng-repeat="option in options" value="{{option}}">
{{option}}
</option>
</select>
</div>
If I have 3 selects: if in the second select I have selected the option1
, the first and the third should show me option2
and option3
to be able to choose.