Summary
Update `` to implement the PatternFly v6 Select component.
Custom selection dropdown supporting single-select, multi-select, typeahead filtering, and grouped options.
Prior Art
| Source |
Element |
Status |
| PFE v4 |
`` |
Exists |
| cem |
`` |
Exists |
| cockpit |
`` |
Exists |
| chickadee |
-- |
-- |
Sub-components
- `` - Individual selectable option
- `` - Grouped options with title
Notes
- Consider implementing as a FACE for form submission
- Use ARIA IDL attributes for cross-root ARIA (Baseline 2025)
Requirements
- MUST implement PFv6 visual designs
- MUST provide end-user feature parity with `@patternfly/react-core` Select
- MAY adjust element API to leverage web platform strengths
- SHOULD maintain CSS custom property theming compatibility
- SHOULD expose useful CSS shadow parts
Element-specific considerations
- MAJOR API CHANGE: React v6 Select is rebuilt on `Menu` + `MenuToggle` architecture - fundamentally different from v5. Study v6 React source before porting.
- React v6 `Select` props: `toggle` (render prop), `isScrollable`, `isGrouped`, `selected`, `onSelect` - manages selected state externally
- `SelectOption`, `SelectList`, `SelectGroup` are thin wrappers around Menu equivalents
- Single-select vs multi-select: no separate component - parent manages `selected` array
- Typeahead: not built into Select in v6 - use `TextInputGroup` inside the toggle; implement filtering in JS
- FACE: MUST use `ElementInternals` for `name`/`value` form submission; multi-select must serialize all selected values
- Consider `` as a slottable child element (like native ``)
- ARIA: `role="listbox"`, options have `role="option"` + `aria-selected`; toggle has `aria-haspopup="listbox"` + `aria-expanded`
Checklist
Rename
Implementation
Demos
Tests
Reviews
Ship
Summary
Update `` to implement the PatternFly v6 Select component.
Custom selection dropdown supporting single-select, multi-select, typeahead filtering, and grouped options.
Prior Art
Sub-components
Notes
Requirements
Element-specific considerations
Checklist
Rename
Implementation
Demos
Tests
Reviews
Ship