-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Shadcn #120
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. |
you may need to utilise |
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. |
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.
The text was updated successfully, but these errors were encountered: