Add image to ion-select-option (ion-select)

Discussão em 'Angular' iniciado por Serj Malko, Maio 13, 2025.

  1. Serj Malko

    Serj Malko Guest

    How I can add image to ion-option in ion-select? I wanna use it for select language with country icon

    <ion-select interface="popover" [interfaceOptions]="opts"
    slot="end">
    <ion-select-option
    *ngFor="let item of (langs$ | async)"
    [value]="item.name" class="lang-item">
    {{item.name}}
    </ion-select-option>
    </ion-select>


    // .ts


    opts: any = {
    cssClass: 'lang'
    };

    Continue reading...

Compartilhe esta Página