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

[Bug]: Placeholder class on select not working #866

Closed
1 of 2 tasks
damienroche opened this issue Nov 5, 2024 · 0 comments · Fixed by #867
Closed
1 of 2 tasks

[Bug]: Placeholder class on select not working #866

damienroche opened this issue Nov 5, 2024 · 0 comments · Fixed by #867
Labels
bug Something isn't working

Comments

@damienroche
Copy link
Contributor

damienroche commented Nov 5, 2024

Reproduction

https://www.shadcn-vue.com/docs/components/select#form

Describe the bug

For Select component, the placeholder class isn't working.
On demo page, we can see that Select have a placeholder:text-muted-foreground so when there's no selected value, it should be displayed in the same color as the message below with the same class

Capture d’écran 2024-11-05 à 09 29 26

System Info

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 87.31 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
    Yarn: 1.22.18 - ~/Library/pnpm/yarn
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
    pnpm: 8.10.5 - ~/Library/pnpm/pnpm
    bun: 0.2.1 - ~/.bun/bin/bun
  Browsers:
    Chrome: 130.0.6723.92
    Safari: 17.5
  npmPackages:
    radix-vue: ^1.9.7 => 1.9.7 
    unplugin-auto-import: ^0.18.3 => 0.18.3 
    vue: ^3.5.12 => 3.5.12

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant