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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform-states_vs_label_click-2472685-1.patch | 1.56 KB | danchadwick |
Comments
Comment #1
danchadwick commentedCommitted to 7.x-4.x and 8.x.
A flush of aggregated JS will be needed to see this change.