Strange data binding output difference

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:

Screenshot 2022-02-19 at 12.52.41


Thanks Teodor :+1: :+1: