I have situation like this:
<span ng-repeat="personNum in unit.PricePerson">
{{personNum}}
<select ng-model="personNum"
ng-options="o as o for o in unit.PricePerson track by $index"></select>
</span>
unit.Price are numbers array,something like [5,6,7,8,9] but each select has value of nine. I want that first select selected option 5,other one 6, etc. Also, i noticed I can not change options using mouse.
There are 5 select boxes generated which is fine, there are also number from 5 to 9 generated as options inside each select. Those things are ok.
personNumfor what you are using right now. Might help to see the data you are using (1 node is fine)personNumwill set your selected option because right now you have it set as the model on the select list. It would help to see your data. Is the pre-selected item inside your data set? if you can show what one node ofunit.PricePersonlooks like, it would be a lot easier to help :)