allow expressions in Style Field - Mendix Forum

allow expressions in Style Field

3

we need to make a progress bar.

there are some widgets out there that can do this, but we could also do this with some simple CSS.

 

 

asked
2 answers

yeah, we ended up using the progressbar widget which is probably easier to use/setup :D

but who knows, their might be some other dynamic css things, that cant easily be solved with classes.

but I also dont really like the idea of ppl using the style field hahaha :D 

so conflicted :D 

Created

This is an interesting idea and could be a powerful enhancement.

I encountered a similar case and considered using the ‘Set Attribute’ or ‘Attribute Helper’ widget to set an attribute with value, so the CSS function attr() could be used to set the width. However, using this function with the width property is not supported even by some of the major browsers.

Created