When you define From or To e-mail addresses, and use a select component as the source for the e-mail address, webform displays a table of the options in the select and a place to type an address for each option.

This works fine unless you click on the list of components and choose a select component. But if you click the heading for the list of components ("Component") and the currently component is a select component, the list of mappings isn't displayed. Similarly, if you click the Custom label, the mappings aren't hidden.

This is because the browser is automatically selecting the radio upon a click in the label, but isn't trigger a change event. The Drupal FAPI #states used to show/hide the states doesn't see the click. This is actually a core bug.

Comments

danchadwick’s picture

Status: Active » Fixed
StatusFileSize
new1.56 KB

Committed to 7.x-4.x and 8.x.

A flush of aggregated JS will be needed to see this change.

  • DanChadwick committed b123d9f on 8.x-4.x
    Issue #2472685: Clicking a select component in an e-mail config doesn't...

Status: Fixed » Closed (fixed)

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