Ios select off by one selection

Folks, I am on 1.0.0-beta.6-nightly-2201

On iOS platform only, if the select dropdown has ‘A’, ‘B’ and ‘C’ and I select ‘A’, it shows that it has selected ‘B’.
But I tried put the model value and it does show that the selected value is indeed ‘A’. It’s very confusing as it seems off by one - but it really has selected the right value. Has anyone seen this - seems like CSS issue - not sure. I have removed all my CSS changes, but still the same issue.

Android is fine.

<div class="list">
            <div class="item item-input item-select">
                <div class="input-label">
                    Sub Category
                </div>
                <select ng-model="item.sub_category" ng-options="c for c in subcategories">

                </select>

            </div>
        </div>

Found that ng-options is the issue

<select ng-model="blah">
   <option ng-repeat="c in choices">{{c}}</option>
</select>

Above code works just fine.

@adam, I am assuming this is expected behavior as your new select directive is being used here - or at least that was my intent - to use the new select directive.

1 Like