How is it that the same code outputs different here.
The normal text works but used as text to set a class does not work:
You can’t use dynamic data without using a dynamic attribute. Your class=""
attribute is not dynamic.
It must be:
dmx-bind:class="'f' + (floorprice > break_even ? 'good' : 'bad')"
Or you can just use the dynamic attrributes > styling > class toggle to define the two classes:
2 Likes
Thanks Teodor