Got it. The field name needs to be in curly brackets:
<f:if condition="{item.label} == 0">xxx</f:if>
Domanda
In my extbase/fluid extension, I can get "if" conditions to work in a List template, but not in a Partial.
<f:if condition="item.label == 0">xxx</f:if>
returns true and writes out "xxx" no matter what item.typ's value is.
Is that the right syntax for a condition in a partial?
Soluzione
Got it. The field name needs to be in curly brackets:
<f:if condition="{item.label} == 0">xxx</f:if>