When unchecking 'assign tag colors automatically' the color box should then appear , but. sadly it doesn't, so it looks like a bug.
Screenshots before and after unchecking the box.
the. 'color' box is completely missing!.
should look like this..
When unchecking 'assign tag colors automatically' the color box should then appear , but. sadly it doesn't, so it looks like a bug.
Screenshots before and after unchecking the box.
the. 'color' box is completely missing!.
should look like this..
Hey @peter.b!
For the Tag settings, when you uncheck the assign colors automatically box you are simply telling the app to not use the default colors of the current theme (all tags are grey). You should be able to go into the Option List and apply color values and/or logic directly to the option settings:
If you need the tags to all be one color you could set this value as a state variable/transformer output to have more dynamic control of the colors or set the theme of the app to only have the color you want:
it's a bug the color box appears on one table but not on another, no idea why not!
Can you show me the setup for the table column where the Color setting appears?
I believe I was able to reproduce this behavior (of seeing the Color setting upon deselecting Assign tag colors automatically
) when the tag options are not defined. You also get to choose an Icon this way:
I'm not quite sure it is a bug or an intended behavior for option-less tags. I could see it being intended since this configuration automatically enables Allow custom values
and shows a warning:
Any deeper insight would have to come from Retool directly, I think.
HI,
Yes good spot, that seems to be the same for us, it. initially looks like a bug, but. lets call it an undocumented feature
so if we have options set, how do we get to choose the colours? The automatic ones are not. ideal
Thanks
Pete
You would do it in the options themselves:
For mapped options, there should still be a color property to use. The logic for each option can be up to you, but usually I have a transformer or variable that holds the values I want, then I can supply the color property from a separate control or (more usually) a ternary operation to default to a color if nothing else matches my logic.
Got it.
We actually store the tag colour against the option in a self db table so they are loaded together and easily changed via the db table
Thanks for your assistance
Pete