[feat/bug] missing tags color array in table

in the Tags component, you can give an array of values and an array of colors. this is great when one of the values is actually a color string itself, eg. "blue" colored blue:

however, when using Tags as a table column format, the only option for manually specifying colors (from what i can find) is to treat each value as its own color via table > column > "Add-ons" > "Option list" > option > "Color":

i guess the point here is two parts:

  1. why can't i reference currentRow/currentSourceRow as Option list data source, and
  2. can we get the same row-level tags color array input on Table component as exists already in the Tags component

in the meantime, i will try to populate colors using table column's Option list data source via JS query, but it will be a bit hack-y

1 Like

Hey @trz-justin-dev

Currently, the option list has to be the same for every row, which is why you can't pass in a dynamic current row :disappointed:

I'm not sure if I'm following the request with the colors field yet - Any chance you could share an app export

Here's what I've been testing with:

Hi @trz-justin-dev!

You'll be happy to hear that we've just shipped the ability to reference currentSourceRow, currentRow, and i in the option list data source!

Let us know if you have any issues or questions.

David

2 Likes