Shareable component: issues with conditional styles

I’ve noticed two issues when setting up a shareable component:

  1. Copying of conditional styles to and from shareable components doesn’t seem to be working. Tested scenarios:
  • Set up conditional styles in a shareable component and try to copy them to another shareable component.
  • Set up conditional styles in a shareable component and try to copy them to a regular component.
  • Set up conditional styles in a regular component and try to copy them to another shareable component.
  1. Conditional styles based on component params of type ENUM with data type Integer result in an error:
FilterParser: Unable to find Enumerated Type: - model is probably inconsistent

The problem doesn’t apply to built-in ENUMS like Device OS or ENUMS set up with data type Auto, so a workaround is available.


UPDATE: The above-mentioned errors don’t disappear from the console even after a new enum has been created with the data type Auto and the conditional styles are applied correctly in the UI.

Hi Joanna! Thank you for reporting this bug. I have now registered this as a challenge and we will update you when it is fixed :grinning_face:

1 Like