Icons in ion-select


#1

Hello,

I get this values:

[
  { tid: 1, name: 'Example01', icon: 'https://......./example01.png' },
  { tid: 2, name: 'Example02', icon: 'https://......./example02.png' },
]

How i can insert icons inside ion-option ? Like this:

I am trying with:

<ion-select>
    <ion-option *ngFor="let obj of objects"
                value="{{obj.tid}}">{{obj.name}} <img [src]="obj.icon">
    </ion-option>
</ion-select>

But don’t work. Any suggestions ?