Adding option to display the entity id

Created on 10 August 2023, over 1 year ago
Updated 10 November 2023, about 1 year ago

Problem/Motivation

It could be nice to add the option to add the display of the entity id, similar to the default drupal behaviour.
This could be handy when some entity reference field contains many options, of which some may contain similar titles (like a several "about" pages/taxonomies belonging to different sections/parents).
This is also currently designed by the Drupal Design System (Figma link)

Proposed resolution

We could slightly tweak the template used for the user references. This option should NOT be enabled by default and it could be activated via a configuration form on the formatter widget, in order to enable it on a per-field basis.

Remaining tasks

  • implement a patch/branch to showcase the example.
  • implement the configuration formatter.

User interface changes

  • Add a non-Intrusive space (similar to the user picture) on the left-end of the tag pill.

API changes

None

Data model changes

None

Feature request
Status

Fixed

Version

1.0

Component

User interface

Created by

🇦🇺Australia elgandoz Canberra

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

Comments & Activities

Production build 0.71.5 2024