Select - Action Sheet Interface (Not Working)

I’m trying to set my select to user the action-sheet interface.
But it just continues to use alert.

<ion-item>
      <ion-label>Escolha seu estado</ion-label>
      <ion-select [(ngModel)]="filter.state" (ionChange)="selectState($event)" interface="action-sheet">
        <ion-option *ngFor="let state of api.states" value="{{state.id}}">{{state.name}}</ion-option>
      </ion-select>
    </ion-item>

This is my code, is something wrong?

Did you find any solution to this?

According to Ionic 2 docs " If the number of options exceed 6, it will use the alert interface even if action-sheet is passed"

Since you are working with states, there might be more than 6 - depending on the country.

1 Like