Tag field: how to properly change list item CSS depending on list item data values

114 Views Asked by At

I'm trying to display list items in tag field with different colors, depending on the values in their data. So I'm asking what is the proper way to change list item css depending on list item data? Should I change fieldSubTpl or is there any other way to do this ? Thank you in advance for your replies.

1

There are 1 best solutions below

0
alex.butnar On

I believe are you looking for the labelTpl config.