Problem/Motivation

Since the <select> element is used for the dropdown, it makes more sense to have the title wrapper in <label> instead of <h3>. It also appears it is impossible to set the title, and the <h3> title only shows up then the output is grouped.

Proposed resolution

Add label options to allow for custom labels. When the output is grouped - use group titles for <label> text.

User interface changes

- new "Select label" option on the style plugin settings page
- select element options are wrapped into a details container for convenience

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

euk created an issue. See original summary.

euk’s picture

Issue summary: View changes
euk’s picture

StatusFileSize
new5.65 KB

The patch is attached.

NOTE: The patch is for 8.x-1.0-beta3 and has a cherry pick of the 'id' attribute solution, sourced from the DEV branch.

euk’s picture

StatusFileSize
new7.68 KB

Patch for 8.x-1.x branch

euk’s picture

StatusFileSize
new8.35 KB

re-attaching failed 8.x-1.x patch.

euk’s picture