Skip to content

Commit

Permalink
fix autocomplete-field
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehor Podporinov authored and Yehor Podporinov committed Sep 4, 2023
1 parent 2e32de2 commit a02c63e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion components/DropMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
scheme="none"
color="none"
modification="none"
tabindex="-1"
@click="select(option.value)"
@pointermove="emit('update:nav-option-idx', idx)"
>
Expand Down
9 changes: 0 additions & 9 deletions fields/AutocompleteField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<drop-menu
v-model:is-open="isDropMenuOpen"
v-model:nav-option-idx="navOptionIdx"
tabindex="-1"
:model-value="modelValue"
:options="options"
@update:model-value="emit('update:model-value', $event)"
Expand Down Expand Up @@ -107,14 +106,6 @@ const inputListeners = computed(() => ({
isDropMenuOpen.value = true
}
},
focus() {
if (!isDisabled.value && !isReadonly.value) {
isDropMenuOpen.value = true
}
},
blur() {
isDropMenuOpen.value = false
},
input(event: Event) {
filterTitle.value = (event.target as HTMLInputElement).value
navOptionIdx.value = 0
Expand Down

0 comments on commit a02c63e

Please sign in to comment.