Hello everybody,
after spending so much hours I am so confused now.
I need to change the colors if ion-select for Cancel and OK.
In ionic 3 I have reached this via [selectOption] property, however this is not working in Ionic 4 anymore.
I have tried via [interfaceOptions] but no success as well.
Please if anybody has any idea how I can reach this… let me know.
Thanks in advance and be healthy!
<ion-select placeholder=“Text” cancelText=“Abbrechen” [interfaceOptions]=“customAlertOptions” (ionChange)=“fileSelected($event)”>
<ion-select-option *ngFor="let item of uploadedFiles" value={{item.id}}>{{item.displayName}} </ion-select-option> </ion-select>
customAlertOptions: any = {
cssClass: 'alertCustomCss',
};
.alertCustomCss {
ion-button { color:#58a618 !important; // button text color }
}