- Issue created by @Grimreaper
In a table view, I have a content entity type with an image field and an icon field.
I want to display a column that will show the image if present or fallback to the icon if present.
When displaying field individually it is ok.
But if I set a custom text and set content to:
{% if image__target_id %}
image
{{ image__target_id }}
{% else %}
icon
{{ field_icon }}
{% endif %}
Then field_icon outputs nothing, because I see the text "icon" in the view output.
I wonder if there is something to do on Views integration or in the field.
Active
1.0
UI Icons Field