(Go: >> BACK << -|- >> HOME <<)

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select not displaying properly #624

Closed
ezekel opened this issue Jun 20, 2024 · 2 comments
Closed

Select not displaying properly #624

ezekel opened this issue Jun 20, 2024 · 2 comments

Comments

@ezekel
Copy link
ezekel commented Jun 20, 2024

I am using Laravel Jetstream + inertia + Vue, I created a simple select dropdown but it did not display properly

Node -v
v22.3.0

OS "Debian GNU/Linux 12 (bookworm)

image

<script setup lang="ts">

import {
    Select,
    SelectContent,
    SelectGroup,
    SelectItem,
    SelectLabel,
    SelectTrigger,
    SelectValue,
} from '@/components/ui/select'
</script>
<template>
    <Select>
        <SelectTrigger class="w-[180px]">
            <SelectValue placeholder="Select a fruit" />
        </SelectTrigger>
        <SelectContent>
            <SelectGroup>
                <SelectLabel>Fruits</SelectLabel>
                <SelectItem value="apple">
                    Apple
                </SelectItem>
                <SelectItem value="banana">
                    Banana
                </SelectItem>
                <SelectItem value="blueberry">
                    Blueberry
                </SelectItem>
                <SelectItem value="grapes">
                    Grapes
                </SelectItem>
                <SelectItem value="pineapple">
                    Pineapple
                </SelectItem>
            </SelectGroup>
        </SelectContent>
    </Select>
</template>

Thank you in advance

@sadeghbarati
Copy link
Collaborator

Can you share your inertia projects and also your tailwind config?

@sadeghbarati sadeghbarati pinned this issue Jun 21, 2024
@sadeghbarati sadeghbarati unpinned this issue Jun 21, 2024
@ezekel
Copy link
Author
ezekel commented Jun 22, 2024

Sorry it's working now I just re-installed the inertia and shadcnvue

@ezekel ezekel closed this as completed Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants