Hide cancel button ion-select


#1

Any ideas on how to hide cancel button in ion-select?

  <ion-select interface="action-sheet" [(ngModel)]="typeobjet">
            <ion-option value="T">option</ion-option>
            <ion-option value="DS">option1</ion-option>
            <ion-option value="LR">option2</ion-option>
            <ion-option value="PH">option3</ion-option>
            <ion-option value="PV">option4</ion-option>
        </ion-select>

#2

You can pass the [selectOptions]=“selectOptions” to your ion-select. Then selectoptions are the same options as provided by the docs from your chosen interface:

Over there you can find and control the buttons you want to display on your ion-select.