ComponentsSearchable select
Searchable select
Filter a grouped dropdown and select one or more named options.
Choose the team responsible for this project.
Setup
Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.
Multiple teams
Select several teams and remove individual choices from the field.
Choose every team that should review this project.
Usage
| Form integration | Author a labeled select and give it a name. The native element holds the value, supports form reset and validation, and submits multiple choices as repeated values. |
|---|---|
| Keyboard | Open the picker, type to filter, and use the arrow keys or Enter to reach a result. Use Enter or Space in the list to select and Escape to return to the trigger. |
| Framework state | In React, pass value and onChange. In Vue, bind v-model. Use a string for one selection or an array of strings for multiple selections. |
| HTML state | Listen for input or change on the native select. When setting its value directly in JavaScript, dispatch a bubbling change event to refresh the visible selection. |