Choices.js w/ DaisyUI styling #2817
NikarashiHatsu
started this conversation in
Show and tell
Replies: 2 comments 5 replies
-
One edge case I found is that the following class .choices__inner:has(select) {
@apply select select-bordered w-full;
} limits the height and doesn't allow it to expand the selection container. EDITAdding .choices__inner:has(select) {
@apply w-full select select-bordered h-fit;
} |
Beta Was this translation helpful? Give feedback.
5 replies
-
Thank you! This is awesome. My use case is selecting which groups of users have access to a specific item in my saas. |
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
-
Hey everyone, I wanted to share what I've been working on for the past hour. I've been diving into this thing for several reasons, but primarily because I found a limited selection of visually appealing libraries like Select2, Choices.js, and Tom Select that meet my specific requirements, specifically when it is paired with Tailwind CSS. Therefore, I took it upon myself to create one that fits.
Please feel free to give it a try, and I hope it meets your expectations!
The CSS file
The CSS file (updated after the issue @Luzefiru provided below)
There are certain aspects that I haven't had the opportunity to test yet as they primarily relate to edge cases. However, if you're interested in contributing, I've prepared a checklist detailing what has been tested and what remains to be explored:
Beta Was this translation helpful? Give feedback.
All reactions