Issue #3642281: Replace the per-row parent select on the build page with a shared datalist

Closes #3642281.

The build page gave every row a "Parent element" select listing every container, so its size grew with rows × containers (25 MB of HTML on a 613-element form). parent_key is now a text field that suggests the container keys from one shared <datalist> (webform-ui-parent-options).

  • Drag-and-drop is unchanged: tabledrag's match action sets a text field as it sets a select.
  • With "Show row weights", the field is visible, keeps its label, and suggests keys and titles as you type (#2985557).
  • ::validateForm() still refuses unknown parents and loops.

WebformUiElementTest now checks there is no parent select, that the field points at the datalist, that typing a container key moves an element, and that an unknown parent is refused.

Merge request reports

Loading
Loading