Bug 261814 - Add showPicker to <select> elements
Summary: Add showPicker to <select> elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Luke Warlow
URL:
Keywords: InRadar
Depends on: 265521 262783
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-20 04:18 PDT by Luke Warlow
Modified: 2023-11-29 07:36 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.