searchable-dropdown
Skill8 starsChanged 7 months agoMITView on GitHub
Selects an option in a searchable / typeahead dropdown (combobox). Types to filter, then clicks the matching option. Common on city pickers, country selectors, package-search dropdowns.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- epulla/patiotheir own version, first seen Nov 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- epulla/patio★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- date-picker-widgetSkill
- detect-captchaSkill
- dismiss-cookie-bannerSkill
- dismiss-newsletter-popupSkill
- exit-tracking-popupSkill
- extract-table-paginationSkill
- fill-multi-step-formSkill
- handle-infinite-scrollSkill
- handle-modal-dialogSkill
- login-flowSkill
- pagination-next-pageSkill
- search-and-filterSkill
- upload-download-fileSkill
- verify-page-loadedSkill
The file
Files
Searchable Dropdown
When to invoke
The page has a role="combobox" widget — typically used when the
option list is long (countries, cities, products). The agent provides
the desired option in vars.option_text.
Recipe
- click selector="[role='combobox'], [aria-haspopup='listbox']"
- wait_for_selector selector="[role='listbox']" state=visible timeout=2s
- fill selector="[role='combobox'], [role='listbox'] input[type='text']" value="$vars.option_text"
- wait_for_selector selector="[role='option']:not([aria-disabled='true'])" state=visible timeout=2s
- click selector="[role='option']:not([aria-disabled='true'])"
- wait extra=200ms
Success criteria
- assert combobox_has_value value="$vars.option_text"
When NOT to use
- Plain
<select>elements — useselect_optionprimitive directly. - Multi-select comboboxes — v0.1 picks the first match only.
- Async-loaded options where the listbox doesn't render until the
filter API responds. Lengthen the
wait_for_selectortimeout viavars.option_load_timeout.
Known failures
- Comboboxes without standard ARIA: Material-UI v4, antd v3, etc. use custom roles. The matcher's marker set covers the common libraries, but old/custom widgets need a fixture.
- Comboboxes where the input is separate from the listbox: v0.1
fills the visible input; some libraries hide it behind another
click. Add an upfront
clickto expand. - Comboboxes that auto-select on first matching keystroke: the recipe's explicit-click step is unnecessary but harmless.
Related skills
date-picker-widget— often co-occurs in booking flowsfill-multi-step-form— drops down inside form steps
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

