Provide an inline display field widget setting

Created on 17 April 2025, 9 days ago

Problem/motivation

Drupal Core Link Widget and Linkit Widget both display their Link field widget, very space consuming in the admin area. Link URL and Link text are always on a separate line. When using the field with unlimited multiplicity, this eats up a lot of space.

Steps to reproduce

  • Add a link field
  • Select the Linkit field widget
  • Still see the link url and link field input very space consuming in two lines, even on wide enough forms

Proposed resolution

It would be super convenient for site owners / builders to have a setting for the field widget to show the fields inline, so you enter the URL and link text in the same line.

For example a setting like:
Field display:

  • Default (block)
  • Compact (inline)

or sth. like that.

What do you think?
I don't think you should need to alter the admin theme to have nice, convenient and compact forms?

Alternatively, the fields could be inline by default and responsively become two lines if there's not enough space.

This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
Feature request
Status

Active

Version

7.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024