// Select Widget - maps to shadcn/ui Select import type { WidgetProps } from "@rjsf/utils"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; import { getSizedFieldClassName } from "../utils"; export function SelectWidget(props: WidgetProps) { const { id, options, value, disabled, readonly, onChange, placeholder, schema, } = props; const { enumOptions = [] } = options; const fieldClassName = getSizedFieldClassName(options, "sm"); return ( ); }