Specification
Explainer: https://open-ui.org/components/select.slotted.option/
Description
Enables HTML <select> elements to recognize options, option groups, separators, and trigger buttons supplied through slots or descendant shadow trees. These elements behave like direct descendants, letting developers build reusable select components without having to copy options or reimplementing native behavior.
Proposed feature ID: select-slots
Documentation
Chromestatus entry: https://chromestatus.com/feature/5127427618635776
Explainer: https://open-ui.org/components/select.slotted.option/
Initial discussion issue: whatwg/html#11535
Browser support
Working on prototyping it on chromium: https://issues.chromium.org/issues/40236878
Specification
Explainer: https://open-ui.org/components/select.slotted.option/
Description
Enables HTML
<select>elements to recognize options, option groups, separators, and trigger buttons supplied through slots or descendant shadow trees. These elements behave like direct descendants, letting developers build reusable select components without having to copy options or reimplementing native behavior.Proposed feature ID:
select-slotsDocumentation
Chromestatus entry: https://chromestatus.com/feature/5127427618635776
Explainer: https://open-ui.org/components/select.slotted.option/
Initial discussion issue: whatwg/html#11535
Browser support
Working on prototyping it on chromium: https://issues.chromium.org/issues/40236878