HI, I found that cannot overwrite the ionic color property, for example:
[color]="odd ? ‘next’ : ‘light’ "
Ones this is set I cannot have a class selector for example:
To set a second color to the Item base on the status.
By default it start with the color property but ones selected should change to the second color background; It use to work in Ionic 3 and 2.
<ion-list lines='none'> <ion-item *ngFor="let factura of filteredItems | balanceCero; let odd = odd" [color]="odd ? 'next' : 'light' " (click)='select(factura)' [class.selected]="factura.selected"> </ion-item>
Any ideas on how I can achieve this logic?