Replies: 4 comments
-
From my experience, basic components like Input and Select from shadcn/ui work fine, but you can't use their specific form components as shown in your snippet. I've had success following the Remix hook form documentation instead of using shadcn/ui's form components directly. |
Beta Was this translation helpful? Give feedback.
-
you may need to utilise |
Beta Was this translation helpful? Give feedback.
-
I followed the example you posted but I can't get regular shadcn errors to show, the form always tries to show native form validation errors. Do you know how to disable this behaviour @Sutikshan ? I set edit: Nevermind, the issue was that I tried to be DRY and wrap the shad components to have less duplication but I guess that context gets lots along the way. |
Beta Was this translation helpful? Give feedback.
-
Shadcn UI Form component is just FormProvider from I'll switch this issue to discussion also |
Beta Was this translation helpful? Give feedback.
-
Does this package have compatibility with shadcn? I was looking through the issues, but didn't see anything regarding that.
For example, something like this:
etc. gives the error:
It's probably that I'm misusing this library.
Beta Was this translation helpful? Give feedback.
All reactions