[BUGFIX] Use optgroup in SelectMultipleSideBySideElement
Instead of using multiple "fake" <option> elements with the same value `--div--`, the SelectMultipleSideBySideElement does now use proper HTML <optgroup> elements for grouping of the available options. This is in line with other select elements, e.g. the SelectSingleElement. Besides the improved HTML markup, this also improves the UI, since the <optgroup> element is non-selectable. It is also no longer considered by the filter, which previously led to confusion, especially when filtering and having the "dividers" as only options left. Resolves: #95137 Releases: main, 11.5 Change-Id: Ia51e2623217eb0c7abd6c0cd2e9c4a742686641d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72992 Tested-by: core-ci <email@example.com> Tested-by: Benni Mack <firstname.lastname@example.org> Tested-by: Jochen <email@example.com> Tested-by: Christian Kuhn <firstname.lastname@example.org> Tested-by: Oliver Bartsch <email@example.com> Reviewed-by: Benni Mack <firstname.lastname@example.org> Reviewed-by: Jochen <email@example.com> Reviewed-by: Christian Kuhn <firstname.lastname@example.org> Reviewed-by: Oliver Bartsch <email@example.com>
This diff is collapsed.