Ion-option (select)="stpSelect()" select not invoked in beta 10


#1

I’d like to react of ion-option selection change, i.e. to react before user closes ion-select.

ionic-preview-app indicates that it might be possible by:

<ion-option (select)="stpSelect()">Stone Temple Pilots</ion-option>

https://github.com/driftyco/ionic-preview-app/blob/master/app/pages/selects/basic/template.html#L47-L55

https://github.com/driftyco/ionic-preview-app/blob/master/app/pages/selects/basic/pages.ts#L18-L20

but stpSelect() is never invoked.

Is it possible to catch selection change in ion-select?
Thanks.


#2

It is a bug


#3

Hey ,

currently (ionSelect) invoke when select option , but it does not invoke when we deselect it .

Can you suggest me using which event i can get it done ?

I need to restrict user to select only 3 options , for that i need it.

waiting for your response

khushbu