Default form wrapper in field widget is incorrect for cardinality > 1

Created on 27 August 2025, 21 days ago

Problem/Motivation

The default wrapper is set to 'item' which is semantically incorrect when the field is set to cardinality > 1 as the form is then set in a table. Furthermore, it throws off styling in claro theme as it tries to flex everything which breaks the the table layout.

Proposed resolution

Make default layout conditional in CustomWidgetBase so if cardinality is > 1, set to 'container'.

πŸ› Bug report
Status

Active

Version

3.1

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

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

Comments & Activities

Production build 0.71.5 2024