Flipped table display format

Created on 9 June 2025, 5 days ago

Problem/Motivation

I often use custom fields display data stored across multiple "columns", but only a single "row" (single value). Think of an Organization type description, an Address field, or a Personal profile description as examples.

The table display format is not optimal for those cases. At the same time, I would like to have vertically aligned labels on the one side, and vertically aligned values on the other.

For regular Drupal fields, for such use cases there is the Views flipped table module, or, for immediate content display, we have the Field group table as a submodule of the Field group module. It would be great if Custom field would also support this form of display out-of-the-box, like the regular table display, or html list.

Another approach would be (though I am not sure this can be implemented), to keep the main custom field label as hidden, while preserving the subfield labels as aligning with the regular field labels of a Drupal field (in Field group for instance). This would be especially useful if Custom field is used in combination with regular Drupal fields in an entity display. (I often use Custom field for grouped fields, for performance reasons, but otherwise try to mimic the display of regular fields.)

I am aware of the custom template option, but I thought this would be a relatively often used display mode that could perhaps be offered / selected without custom templating.

Feature request
Status

Active

Version

3.1

Component

User interface

Created by

🇮🇪Ireland marksmith

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

Comments & Activities

  • Issue created by @marksmith
  • 🇺🇸United States apmsooner

    I'll take a look when I get a chance and see whats possible for this. Kinda wonder if an actual 'table' element is even necessary for this. CSS grids can maybe achieve the same thing perhaps. I means it's really just 2 columns of data to render, 1st = label, 2nd = value.

  • 🇺🇸United States apmsooner

    Oh, i guess its actually 1 column for the labels and all other columns would be filled with however many values exist. Something like this might be good for creating a comparison component for example.

Production build 0.71.5 2024