From a02c63e51330192284dfed0c7127c2fdfe413040 Mon Sep 17 00:00:00 2001 From: Yehor Podporinov Date: Mon, 4 Sep 2023 12:42:25 +0300 Subject: [PATCH] fix autocomplete-field --- components/DropMenu.vue | 1 - fields/AutocompleteField.vue | 9 --------- 2 files changed, 10 deletions(-) diff --git a/components/DropMenu.vue b/components/DropMenu.vue index 54d3dce..ef06b8b 100644 --- a/components/DropMenu.vue +++ b/components/DropMenu.vue @@ -16,7 +16,6 @@ scheme="none" color="none" modification="none" - tabindex="-1" @click="select(option.value)" @pointermove="emit('update:nav-option-idx', idx)" > diff --git a/fields/AutocompleteField.vue b/fields/AutocompleteField.vue index 5696846..baecc99 100644 --- a/fields/AutocompleteField.vue +++ b/fields/AutocompleteField.vue @@ -26,7 +26,6 @@ ({ 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