We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9004904 commit 27fb34eCopy full SHA for 27fb34e
packages/core/src/Combobox/ComboboxEmpty.vue
@@ -12,7 +12,10 @@ import { Primitive } from '@/Primitive'
12
const props = defineProps<ComboboxEmptyProps>()
13
const rootContext = injectComboboxRootContext()
14
15
-const isRender = computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.filtered.count === 0)
+const isRender = computed(() => rootContext.ignoreFilter.value
16
+ ? rootContext.allItems.value.size === 0
17
+ : !!rootContext.filterState.search && rootContext.filterState.filtered.count === 0,
18
+)
19
</script>
20
21
<template>
0 commit comments