Add support for sections to Select (#34012)

Updates the Select component to accept a set of sections with options as opposed to just a flat list of options.

---------

Signed-off-by: James Brooks <jamesbrooks@spotify.com>
This commit is contained in:
James Brooks
2026-04-28 16:13:39 +01:00
committed by GitHub
parent 080dcbb982
commit e7fc79fb13
12 changed files with 357 additions and 51 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/ui': patch
---
Added support for grouping options into sections in the Select component. You can now pass section objects with a `title` and a nested `options` array alongside (or instead of) regular options to render grouped dropdowns with section headers.
**Affected components:** Select