Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: add modal prop to Select component (#10074)
  • Loading branch information
Aakarsh committed Apr 1, 2026
commit d10b2644404df0399732516bc84d4281c37d706a
3 changes: 2 additions & 1 deletion apps/v4/registry/bases/radix/ui/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import { cn } from "@/registry/bases/radix/lib/utils"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"

function Select({
modal = true,
...props
}: React.ComponentProps<typeof SelectPrimitive.Root>) {
return <SelectPrimitive.Root data-slot="select" {...props} />
return <SelectPrimitive.Root data-slot="select" modal={modal} {...props} />
}

function SelectGroup({
Expand Down
3 changes: 2 additions & 1 deletion apps/v4/registry/new-york-v4/ui/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import { Select as SelectPrimitive } from "radix-ui"
import { cn } from "@/lib/utils"

function Select({
modal = true,
...props
}: React.ComponentProps<typeof SelectPrimitive.Root>) {
return <SelectPrimitive.Root data-slot="select" {...props} />
return <SelectPrimitive.Root data-slot="select" modal={modal} {...props} />
}

function SelectGroup({
Expand Down