Can not select icon from link as prop
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3576144. --> Reported by: [tim-diels](https://www.drupal.org/user/2915097) Related to !90 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When configuring a link to use a field widget like "Link icon" or "Link icon (with attributes)" you can set an icon on a link. I would expect the icon to be selectable as a prop on the field formatter but was unable to do so. You can only get the link value.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ul> <li>Set up a content type and add a link field</li> <li>On the "Form display": Set the field widget to use "Link icon" or "Link icon (with attributes)" from the modules (ui_icons_field or ui_icons_field_link_attributes)</li> <li>On the "Display": Try to get the value in a prop on the field formatter when using Component per item (UI Patterns)</li> </ul> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Add a link icon source and pass the data.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Review MR</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>User will be able to select "[Field item] Icon from the link field component." as prop.</p> <h3 id="summary-api-changes">API changes</h3> <p>None</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>None</p>
issue