content.field_icon_link.0['#title'].icon is empty when the icon position is set to "after" or "icon_only"

Created on 12 June 2025, about 1 month ago

Problem/Motivation

When using the "Link (with symbol)" link field widget (micon_link), no micon icon is printed if the position is set to "after" or "icon_only". In these cases, the value of content.field_link.0['#title'].icon is empty, so no icon will be printed.

Steps to reproduce

1. Configure a link field.
2. Configure the form widget for the link field to use 'Link (with symbol)' and enable 'Allow icon position selection'.
3. Configure the link fields display to use the 'Link (with symbol)' formatter.
4. Add new content with the link field and test the position values.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

micon_link submodule

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024