Type Symbol: Icons without text aren't rendered (needs empty check placeholder)

Created on 28 September 2022, over 1 year ago
Updated 1 February 2024, 5 months ago

Type Symbol: Icons without text aren't rendered (needs render placeholder).

Something like:

    {% if content.field_paragraphs_icon.0 %}
      <i{{ icon_attributes.addClass(icon_classes) }}><span class="hidden empty-check-placeholder">Icon</span></i>
    {% endif %}

instead:

    {% if content.field_paragraphs_icon.0 %}
      <i{{ icon_attributes.addClass(icon_classes) }}></i>
    {% endif %}

But I think we already have something like this in this module. Check this.. so we have an equal element for this purpose.

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024