Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
  • typo3
  • ..
  • TypeScript
  • TypeScript
  • FormEngine.ts
Find file Blame History Permalink
  • obartsch's avatar
    [BUGFIX] Use optgroup in SelectMultipleSideBySideElement · 6de8eea9
    obartsch authored Jan 11, 2022
    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: default avatarcore-ci <typo3@b13.com>
    Tested-by: default avatarBenni Mack <benni@typo3.org>
    Tested-by: default avatarJochen <rothjochen@gmail.com>
    Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: default avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: default avatarBenni Mack <benni@typo3.org>
    Reviewed-by: default avatarJochen <rothjochen@gmail.com>
    Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
    6de8eea9