t3 app + shadcn/ui, `select` component `className`s aren't passed to DOM
i just ran
pnpx shadcn-ui@latest add select
and it added the component. u can see in the image, the components have className
s however in the browser, ie the DOM, these className
s just vanish? this issue does not happen with other shadcn/ui components.
in the images u can see that the component is indeed unstyled.Solution:Jump to solution
resolved this... i was just dumb.... check ur imports if ur having this issue. i was importing all the same components from
@radix-ui/react-select
instead of ~/components/ui/select
1 Reply
Solution
resolved this... i was just dumb.... check ur imports if ur having this issue. i was importing all the same components from
@radix-ui/react-select
instead of ~/components/ui/select