Problem/Motivation
When you create a Label element and then assign parent elements, they are not showing in form, only the label is.See screenshots for more information.

Proposed resolution
Either fix the bug or remove the ability to add parent elements to Label.

Remaining tasks
Fix the bug.

User interface changes
None.

API changes
None.

Data model changes
None.

Comments

nkoporec created an issue. See original summary.

jrockowitz’s picture

The 'Label' element is markup and should not be acting as a container with sub-elements.

@see Webform UI and YAML no longer supports nesting sub-elements under markup elements

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new750 bytes
nkoporec’s picture

Hi, tested the patch and it's working.Thanks!

  • jrockowitz committed ff4a6a1 on 8.x-5.x
    Issue #2953590 by jrockowitz, nkoporec: Label parent elements not...
jrockowitz’s picture

Status: Needs review » Fixed

I committed the patch and updated the change record.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.