Does not apply to Edit form

Created on 24 April 2023, about 1 year ago
Updated 10 May 2023, about 1 year ago

Problem/Motivation

While writing tests in #3354487: Add tests for preprocess hook logic β†’ I noticed that the column-splitting does not apply to the edit form.

Steps to reproduce

The checkbox_radio_buttons_multi_columns_preprocess_checkboxes() hook implementation works only for the /entity/add/{bundle} route (or any route that contains a {bundle} slug. When you e.g. edit a node, the form will not split checkboxes into columns in the same way as it does when a node is first added.

Proposed resolution

  1. Review and refactor/defend the column-splitting logic to make it more robust
  2. Add tests for the edit form (after #3354487: Add tests for preprocess hook logic β†’ is committed
πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland stefanos.petrakis Biel, Switzerland

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

Comments & Activities

Production build 0.69.0 2024