Webform's 'Flexbox layout' elements not displaying correctly

Created on 2 October 2024, about 1 month ago

Problem/Motivation

If you use a 'Flexbox layout' element in a a webform it doesn't get displayed properly.
It relies on a class attribute of 'webform-flexbox'.
By default Civictheme throws this attribute away in 'civictheme_convert_attributes_to_modifier_class' and
doesn't replace it with anything equivalent.

Steps to reproduce

Create a webform, add a 'Flexbox layout' element, add 1 or 2 child elements to it. Observe lack of flex.

Proposed resolution

Introduce 'modifier_class' for webform-flexbox or exclude it from the attribute convert.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

🇬🇧United Kingdom mwjansen Bristol

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

Comments & Activities

Production build 0.71.5 2024