Hello!

It's not possible now to add new element to webform (without a parent section or container) if actions are placed into container.

Steps to reproduce:
1. Add section or container to your webform on /admin/structure/webform/manage/your_webform_name
2. Move Submit button(s) to this section.
3. Save webform elements.
4. Try to add new form element without a parent (using button “Add element” above the form)

The new form element is not added (Although the massage “new_elememt_name has been created” is shown)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

LilyB created an issue. See original summary.

LilyB’s picture

Status: Active » Needs review
FileSize
924 bytes

The patch that helps to solve this issue is attached.

jrockowitz’s picture

The issue and patch makes perfect sense to me.

jrockowitz’s picture

Status: Needs review » Fixed

I tested the patch locally and it fixes the issue.

@LilyB Thanks

LilyB’s picture

Thank you!

  • jrockowitz committed c5f9806 on 8.x-5.x authored by LilyB
    Issue #2944424 by LilyB: New element is not added to webform if actions...

Status: Fixed » Closed (fixed)

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