Does not apply to Edit form

Created on 24 April 2023, almost 2 years ago
Updated 10 May 2023, almost 2 years 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@gmail.com Biel, Switzerland

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

Comments & Activities

Production build 0.71.5 2024