Hi Team,

Sub Module: Salesforce Webform
File: WebformElements.php
Function Name: getConfigurationOptions

I am facing an issue to get a child element if I have added "Details" and "Flexbox layout" element as a parent. Inside this element, I have a lot more fields, which are not available inside the select box for field mapping for a webform element.

Anyone else is facing the same issue?

Thanks in advance

Comments

akarmalkar created an issue. See original summary.

aaronbauman’s picture

Version: 8.x-3.3 » 8.x-3.x-dev

Please post your webform config and i will take a look

akarmalkar’s picture

Hi Aaron,

Due to privacy and security reason, I couldn't provide you with the required YAML files.
For replicating this issue I have created a contact us form.

Please find the attached screenshots.

Thanks in advance.

aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new901 bytes

OK, got it.
This patch will do the trick.

I'll commit this in the next couple days.

akarmalkar’s picture

Thanks,
Working as expected.

Suggestion: Can we remove "Details" and "Flexbox layout" element from the list options (only input elements are required) as it is irrelevant for mapping purpose.

  • AaronBauman committed be65873 on 8.x-3.x
    Issue #3065470 by AaronBauman: include nested webform elements on...
  • AaronBauman committed fb1284c on 8.x-4.x
    Issue #3065470 by AaronBauman: include nested webform elements on...
aaronbauman’s picture

Version: 8.x-3.x-dev » 8.x-4.x-dev
Status: Needs review » Fixed

Suggestion: Can we remove "Details" and "Flexbox layout" element from the list options (only input elements are required) as it is irrelevant for mapping purpose.

Yes, webform has a method for this.

Fixed on both 3.x and 4.x

Status: Fixed » Closed (fixed)

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