Shivam Mishra
2024-10-02 13:06:30 +05:30
committed by GitHub
parent e0bf2bd9d4
commit 42f6621afb
661 changed files with 15939 additions and 31194 deletions

View File

@@ -1,5 +1,5 @@
<script setup>
import { ref, computed, defineComponent } from 'vue';
import { ref, computed, defineOptions } from 'vue';
import FilterButton from 'dashboard/components/ui/Dropdown/DropdownButton.vue';
import FilterListDropdown from 'dashboard/components/ui/Dropdown/DropdownList.vue';
@@ -14,7 +14,7 @@ const props = defineProps({
const emit = defineEmits(['change']);
defineComponent({
defineOptions({
name: 'SearchableDropdown',
});
@@ -64,7 +64,7 @@ const selectedItemId = computed(() => selectedItem.value?.id || null);
:input-placeholder="placeholder"
enable-search
class="left-0 flex flex-col w-full overflow-y-auto h-fit !max-h-[160px] md:left-auto md:right-0 top-10"
@click="onSelect"
@select="onSelect"
/>
</template>
</FilterButton>