showPicker() for <select>Limited availability
The showPicker() method for <select> elements shows the dropdown menu or other user interface for picking one of the options.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–120Not supported
121+Supportedsince Jan 23, 2024
Current: 155Edge
12–120Not supported
121+Supportedsince Jan 25, 2024
Current: 154Firefox
1–121Not supported
122+Supportedsince Jan 23, 2024
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18–120Not supported
121+Supportedsince Jan 23, 2024
Current: 155Firefox Android
4–121Not supported
122+Supportedsince Jan 23, 2024
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Safari, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: showPicker.
Feature detection
JS · check before using
if ("HTMLSelectElement" in globalThis && "showPicker" in HTMLSelectElement.prototype) {
// HTMLSelectElement.showPicker is available
}