Allow setting default Tabledrag method for form fields

Created on 22 January 2024, about 1 year ago

Problem/Motivation

Sometimes, you want to use Weight and not Tabledrag to reorder a multi-value field. For example, if there's a bug, πŸ› Display duplicate editors when dragging and dropping editors in the paragraph field Active .

Steps to reproduce

Set a field to "Allowed number of values" to "Unlimited", and for some reason, prefer to not allow users to use the default Tabledrag feature for ordering them.

Proposed resolution

Allow setting the default ordering method to be either of these on the form display (/admin/structure/types/manage/article/form-display):

  • Tabledrag
  • Weights

It looks like this is currently set on a per user basis, based on what the user last set it to be. But it would be nice to be able to define it globally, for all users, and maybe even disable one or both of them.

Merge request link

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
FormΒ  β†’

Last updated 24 minutes ago

Created by

πŸ‡©πŸ‡°Denmark ressa Copenhagen

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

Comments & Activities

Production build 0.71.5 2024