Aravindh Gopi
Aravindh Gopi

Reputation: 2166

ion-select popover is not working

Ionic-2 ion-select with popover is not working, but it works with action-sheet interface. The code is simple. I don't want those ok and cancel buttons.

<ion-item>
    <ion-label floating>
        Selection Label
    </ion-label>

    <ion-select interface="popover">
        <ion-option selected>
            option1
        </ion-option>
        <ion-option>
            option2
        </ion-option>
    </ion-select>
</ion-item>

Ionic Info

my_ionic_info

popover

wrong-popover

action-sheet

correct-action-sheet

Upvotes: 2

Views: 4722

Answers (1)

Swapnil Patwa
Swapnil Patwa

Reputation: 4089

In order to use interface="popover" as a property, ionic-angular version should be 3.1.0 or later.

Have a look at 3.1.0 changelog.

Upvotes: 2

Related Questions