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.
I'd wager this is a big gap in Mendix functionality from a web dev perspective. A current use case I have needs custom accent coloring for links, buttons etc. per item in a data grid (template or list view). Therefore I'd really want to be able to use entity attributes (color codes or other parameters) in the style settings of elements. I can imagine many other use cases would benefit as well from this technique!
What is needed to get more attention for this?
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
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.