Bug 261814

Summary: Add showPicker to <select> elements
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: FormsAssignee: Luke Warlow <lwarlow>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 265521, 262783    
Bug Blocks:    

Description Luke Warlow 2023-09-20 04:18:09 PDT
The showPicker() method is a new addition to HTMLSelectElement which addresses a common request from web developers: programmatically showing the options picker. This is a natural progression from the <input> showPicker() method

<select id="select">
...
</selecT>
<button onclick="select.showPicker()">Show the options picker</button>

WHATWG Spec PR: https://github.com/whatwg/html/pull/9754
Comment 1 Radar WebKit Bug Importer 2023-09-27 04:19:12 PDT
<rdar://problem/116114384>
Comment 2 Luke Warlow 2023-10-01 18:29:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18479
Comment 3 EWS 2023-10-17 11:43:13 PDT
Committed 269420@main (5df7cdc4a1ec): <https://commits.webkit.org/269420@main>

Reviewed commits have been landed. Closing PR #18479 and removing active labels.