Add option for field widget to display as table

Created on 17 May 2018, over 6 years ago
Updated 27 August 2024, 3 months ago

Problem/Motivation

In some ways, the UI of the IEF widget works better than the native 'Entity browser' widget. In particular, if you're displaying your entities via their label, having a table for the display of selected entities can be easier to use and look better.

  • The 'Remove' and 'Edit' buttons can be in their own column, with a consistent vertical layout.
  • Weights/ordering can be more visually obvious since there's only one dimension things can move in.
  • There can be a dedicated column in the table for delta, that becomes a tabledrag icon (users on a site I'm building didn't even realize the default 'Entity browser' widget allowed them to reorder selections to change the delta).

Proposed resolution

Add a new field widget that provides the table functionality. (Originally the idea was to modify the original widget, but there are too many schema changes, so for wards compatibility, a new widget makes more sense.)ore sense.)

Remaining tasks

  1. Review/Commit

User interface changes

None to existing field widgets.

API changes

None to existing field widgets.

Data model changes

Adds new field widget with its own schema.

Feature request
Status

Needs review

Version

2.0

Component

Field widget

Created by

🇺🇸United States dww

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

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.71.5 2024