[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 <firstname.lastname@example.org> Tested-by: Benni Mack <email@example.com> Tested-by: Jochen <firstname.lastname@example.org> Tested-by: Christian Kuhn <email@example.com> Tested-by: Oliver Bartsch <firstname.lastname@example.org> Reviewed-by: Benni Mack <email@example.com> Reviewed-by: Jochen <firstname.lastname@example.org> Reviewed-by: Christian Kuhn <email@example.com> Reviewed-by: Oliver Bartsch <firstname.lastname@example.org>
This diff is collapsed.