Skip to content

Has on example for select large options #1223

Answered by Liripo
Liripo asked this question in Q&A
Discussion options

You must be logged in to vote

Through AI, I made an example and successfully used it in my project.

<script setup lang="ts">
import { cn } from '@/lib/utils' // Assuming utility function for class names
import { Button } from '@/components/ui/button' // Assuming Button component from UI library
import { Combobox, ComboboxAnchor, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxList, ComboboxTrigger } from '@/components/ui/combobox' // Assuming Combobox components
import { Check, ChevronsUpDown, Search } from 'lucide-vue-next' // Icons
import { ref, computed } from 'vue'
// @ts-ignore ignore type checking because vue-virtual-scroller doesn't have type definition files
import { R…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Liripo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants