I would like to display a different color based on the respective item label.
Is there something like this?
"=loop.item.label.contains('Papier') ? 'green' : 'black'"
I would like to display a different color based on the respective item label.
Is there something like this?
"=loop.item.label.contains('Papier') ? 'green' : 'black'"
The widget expression syntax is based on javascript so the string method is .includes()
not .contains()
.