select_input() renders a single-choice dropdown—and upgrades automatically to a searchable combobox when searchable=True or options_url is set.
select_input()
searchable=True
options_url
<ComponentPreview title="Select & Searchable Select">
[
{"type": "select_input", "label": "Primary Model", "options": ["gpt-4o", "gpt-4o-mini", "claude-3.7-sonnet", "gemini-2.5-flash"], "value": "gpt-4o", "name": "model"},
{"type": "select_input", "label": "Searchable Region", "options": ["us-east-1", "us-west-2", "eu-west-1", "ap-southeast-1"], "value": "us-east-1", "searchable": true, "name": "region"}
]
</ComponentPreview>
<Tabs>
<Tab title="Python">
</Tab>
<Tab title="YAML">
</Tabs>
| Parameter | Type | Description |
|---|---|---|
| label, options, value, name | options | Dropdown label, list of strings or {label, value} pairs, selected value, and form key. |
label
options
value
name
{label, value}
| searchable, options_url, placeholder | options | Enable combobox filtering or fetch remote options via GET options_url?q=.... |
searchable
placeholder
GET options_url?q=...