diff --git a/src/lib/component/autocomplete/index.js b/src/lib/component/autocomplete/index.js index 0cf4d6d3e..996b185df 100644 --- a/src/lib/component/autocomplete/index.js +++ b/src/lib/component/autocomplete/index.js @@ -62,6 +62,15 @@ export default class Autocomplete { event.preventDefault() this.#model.moveHighlightIndexPrevious() break + + case 'Tab': + event.preventDefault() + if (event.shiftKey) { + this.#model.moveHighlightIndexPrevious() + } else { + this.#model.moveHighlightIndexNext() + } + break } }