Hi! Thanks for the code!
I have the same issue but as my colors are not written in English, the color swatches appear in black.
(I am no expert in code so please excuse my simple questions :))
My metaobject states the “color” items as, for example, “display name” = Azul and “hexcode” = #hexcode
I have tried some changes to the metaobject “color”:
- If I change the metaobject item display name to “blue”, the color swatch appears as a very bright blue (I would assume that the code reads the blue color and provides a general tone for that)
- If I change the display name to the hexcode, the color swatch correctly assumes that color, but the name next to the select checkbox is the hexcode (when it should be “Azul”, the metaobject display name)
Is there a way to change your code so that the checkbox delivered the hexcode of that metaobject and the display name would stay intact?
Thanks a lot!!!