How to do multi select with Shadcn UI? #684
Replies: 2 comments
-
Hey @edmundhung, I'm a week behind on my project because of this problem, could you take some time to help me? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Since no one would resolve this discussion, I'm closing this. |
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
-
Hi, I've been trying to implement a MultiSelect in Remix and Shadcn-ui using this library but nothing seems to work. The only good example I found was this https://github.com/mxkaske/mxkaske.dev/blob/main/components/craft/fancy-multi-select.tsx but it is a controlled input and I can't seem to make it work with conform.
I have tried to adapt the above example to conform but I had to fight a lot of type errors and it did not work. I tried the
getCollectionProps
andgetFieldSet
methods and they also did not work.I've been at it for the last 2 days and I haven't found a single example on how to implement multiselect with Conform. Can anyone help me how to adapt the aforementioned example to conform?
P.S.: This is one of the simplest and the best libraries so far in my experience. I don't mean any disrespect but This once when I had to implement something complex, it felt like fighting the framework. I think the documentation and example are very lacking for this library but honestly, there hasn't been anything better this, it just lacks a few quirks and features for complex use cases, otherwise it's really great!
Beta Was this translation helpful? Give feedback.
All reactions