mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-10-23 05:11:57 +00:00
fix: remove unncessary onClickOutside for SelectTag component
This commit is contained in:
@@ -65,7 +65,6 @@ import {
|
||||
} from 'radix-vue'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useField } from 'vee-validate'
|
||||
import { onClickOutside } from '@vueuse/core'
|
||||
|
||||
const tags = defineModel({
|
||||
required: false,
|
||||
@@ -96,11 +95,6 @@ const open = ref(false)
|
||||
const searchTerm = ref('')
|
||||
const comboboxRef = ref(null)
|
||||
|
||||
// Close dropdown when clicking outside
|
||||
onClickOutside(comboboxRef, () => {
|
||||
open.value = false
|
||||
})
|
||||
|
||||
const filteredOptions = computed(() => props.items.filter((item) => !tags.value.includes(item)))
|
||||
|
||||
const handleSelect = (event) => {
|
||||
|
Reference in New Issue
Block a user