Contact emails
[email protected]<mailto:[email protected]>

Explainer
https://open-ui.org/components/select.slotted.option

Specification
No information provided

Summary
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.

Blink component
Blink>DOM<https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EDOM%22>

Web Feature ID
Missing feature

Motivation
Web component authors cannot wrap a native <select> element and let component 
users provide <option> elements through a <slot> because the select does not 
recognize those options. Developers must move or copy options into the select 
and keep them synchronized with extra code, or rebuild the native select 
element from scratch (see 
https://open-ui.org/components/select.slotted.option/#stakeholder-feedback--opposition).
 Recognizing options (and <optgroup>, <hr>, and <button>) in the select's flat 
tree lets developers wrap the native select in a component instead of having to 
go through complex workarounds.
Plan to explore expanding this solution to other elements that are having the 
same kind of issue nowadays if this goes well.

Initial public proposal
https://github.com/whatwg/html/issues/11535

Search tags
select<https://chromestatus.com/features#tags:select>, 
option<https://chromestatus.com/features#tags:option>, 
slot<https://chromestatus.com/features#tags:slot>

Goals for experimentation
None

Requires code in //chrome?
False

Tracking bug
https://issues.chromium.org/issues/40236878

Estimated milestones
No milestones specified

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5127427618635776?gate=5160205802405888

This intent message was generated by Chrome Platform 
Status<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/DM4PR00MB247408207F357D7FDB045CF6DCCB2%40DM4PR00MB2474.namprd00.prod.outlook.com.

Reply via email to