Skip to main content

It would be nice if, when designating style attributes, if on the attribute you could also designate a condition that activates the attribute. For example attribute color: white only if a checkbox from a model on the page is true and a separate attribute color: red only if the checkbox is false. Similar set up to conditional enabling of fields in a field editor.

Hey this is a great idea! I would use this all the time.


Definitely want this. Even if it was only the ability to use context-aware conditional merge syntax inside the style properties, that would be a start in the right direction.


This looks similar to this post.  FYI, you can use merge syntax on some component definitions in the page builder.

https://community.skuid.com/t/conditional-css-deck