Components library utilities #834
Unanswered
JMartinCollins
asked this question in
Q&A
Replies: 1 comment
-
|
Have you looked at the shadcn examples? https://conform.guide/examples/shadcn-ui/ Switch example: I've found that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been working with Conform using Shadcn/Radix UI form components. The biggest issue that I have run into with this combo is that the Conform
get<Element>Propsutils don't work with these components. Trying to figure out how to get them to integrate with Conform can be quite a headache. For example, using the Switch component requires understanding how Radix uses a hidden input to include the form value 'on' while the Switch is controlled with a boolean value and a non standard proponCheckedChange.Is anyone maintaining utilities like
getRadixSwitchPropsfor specific component libraries like these to generate the necessary props easily?Beta Was this translation helpful? Give feedback.
All reactions