Ionic-framework: Close ion-select when user select option without click on Ok

Created on 1 Jul 2016  路  7Comments  路  Source: ionic-team/ionic-framework

Hi
I am using ion-select in ionic 2 with typescript
I need to close ion-select without click Ok Button

Thanks

Most helpful comment

please, vote for the #10178 issue, if you still interested in this functional.

All 7 comments

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!

May i know where is the solution? thanks @jgw96

@LtotheWT you can use interface="action-sheet"
<ion-select interface="action-sheet" formControlName="type" placeholder="Select.."> <ion-option *ngFor="let value of types" value="{{value.type}}">{{value.type}}</ion-option> </ion-select>

hi @esubansiri thx for the reply, but i have 15++ items, guess that this interface="action-sheet" cannot work in my situation.

any solution?

please, vote for the #10178 issue, if you still interested in this functional.

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings