@fabiobalsamo wrote:
hi, i'm still there!!! i need your help, i need to show an 'ion-checkmark-circled' or an 'ion-close-circled' in a list item if the values of "archiviate.approvata" is true or false. (the value comes from db or Json) ...I've tried to use this, but still the 'ion-checkmark-circled' for every item in the list
ng-class="{false: 'ion-checkmark-circled', true: 'ion-close-circled'}[archiviate.approvata == 0]"
Many thanks
Posts: 10
Participants: 2