I am using a sharable button and wanted to show icons related to the button function.
My approach to make this relatively scalable was to add an Enum “Button Icons” to the global DB:
However it does not show any icon. It just shows the space needed for an icon to appear.
I have also tried feeding the sharable component the whole enum an iterating to create context, but it gives the same result (a space for the icon but it does not show).
This is currently not supported. We’re aware of the limitation, and a feature request has already been registered. I’ve noted that it’s been requested again.
As a workaround, you can use conditional properties on the component:
Ah nice that it has been registered. Visibility group is used until it is supported. However it makes colors quite high maintenance, with copying and adding all conditional colors to all icon components each time a new color and or icon is added. Thanks for the quick reply