React Hook Form + Zod
- from @flx
Controller binds Select to RHF; Zod resolver drives FieldError on submit.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @flx/select-12Registry dependencies3
- select
- field
- button
