Reputation: 2166
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
popover
action-sheet
Upvotes: 2
Views: 4722
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