Skip to content

BUGFIX: Remove extra <ul> from react ui component SelectBox - #4141

Open
minedesign-jl wants to merge 5 commits into
neos:9.2from
queoGmbH:bugfix/3826-valid-list-markup-for-dropdowns
Open

BUGFIX: Remove extra <ul> from react ui component SelectBox#4141
minedesign-jl wants to merge 5 commits into
neos:9.2from
queoGmbH:bugfix/3826-valid-list-markup-for-dropdowns

Conversation

@minedesign-jl

Copy link
Copy Markdown
Collaborator

Resolves: #3826

What I did and how

  • selectBox react ui component: fixing invalid double <ul> wrap
  • editPreviewDropdown: fixing invalid markup - <div>is direct child of <ul>
  • same icon spacing in editPreviewDropdown, dimensionDropdown & userDropdown

How I did it

  • selectBox: removing <ul> from SelectBox.js - it uses drowdown.contents which already returns a <ul>
  • editPreviewDropdown: wrapping groupHeader & it's options in <li>and options in own <ul>
  • icon spacing: setting spacing to var(--spacing-Half)

How to verify it
checking for proper list markup for the following dropdowns

  • node tree presets
  • workspace dropdown
  • dimension dropdown
  • view/preview dropdown
  • node type dropdown (inspector)
  • open graph type (inspector)
  • twitter card - card type (inspector)
  • xml sitemap (inspector)

checking that dropdown ui component still produces valid markup by checking user dropdown.

@github-actions github-actions Bot added Bug Label to mark the change as bugfix 8.3 labels Jun 14, 2026
@Sebobo
Sebobo requested review from Sebobo and mhsdesign June 15, 2026 07:48
@mhsdesign

Copy link
Copy Markdown
Member

I would be more confident targeting 9.2 who knows what demons this can have^^ 8.3 is super stable now and soon to be handed of in security only. Wdyt?

@mhsdesign
mhsdesign changed the base branch from 8.3 to 9.2 July 9, 2026 08:02
@github-actions github-actions Bot added 9.2 and removed 8.3 labels Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9.2 Bug Label to mark the change as bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: SelectBox generates invalid markup

2 participants