Elements in custom composite element do not have webform_key

Created on 9 November 2023, 8 months ago
Updated 6 April 2024, 3 months ago

Problem/Motivation

Elements in custom composite element do not have webform_key. This creates problems with other modules which expect all webform elements to have #webform_key.

Steps to reproduce

Create a custom composite element with any element. The element does not have a #webform_key.
A problem that this creates is when used with Webform Simple Hierarchical Select β†’ where you get an error for missing '#webform_key' and simple hierarchical select does not appear at all.

Proposed resolution

Add #webfrom_key to all elements of custom composite element (webformMultiple).

πŸ› Bug report
Status

Postponed: needs info

Version

6.2

Component

Code

Created by

πŸ‡¬πŸ‡·Greece iro

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

Comments & Activities

Production build 0.69.0 2024