Problem/Motivation

Only select is using element['#title'] as name which makes it have values with capitalization and it's not consistent with the other elements.

Steps to reproduce

Proposed resolution

Change name value to be ['#webform_key']

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hooroomoo created an issue. See original summary.

hooroomoo’s picture

Noticed this when looking at the webform example tests in next-drupal the existing test that was searching for name='team' was failing because the library had it was name='Team' since Team was the title.

hooroomoo’s picture

Title: Change in name value in WebformSelect » Change name value in WebformSelect to be #webform_key instead of #title

hooroomoo’s picture

Status: Active » Needs review

lauriii’s picture

Status: Needs review » Fixed

Good catch! Merged 👍

Status: Fixed » Closed (fixed)

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