Keyboard shortcuts
Below is a list of keyboard shortcuts that you can use with the autocomplete component.
All shortcuts require the input to be focused and the list dropdown to be open to function.
| Shortcut | Description |
|---|---|
| Down arrow | Highlight next |
| Up arrow | Highlight previous |
| Cmd + down arrow | Highlight last |
| Cmd + up arrow | Highlight first |
| Home | Highlight first |
| End | Highlight last |
| Backspace | Clear selected (if already has a selection) |
| Enter | Select (if highlighted) |
| Escape | Close (and clear input if auto-select is enabled) |
| Tab | Select (if highlighted) |