Multiselect pt checkbox classname #2209
Unanswered
hamyam
asked this question in
PrimeReact
Replies: 1 comment
-
Thanks to you I was able to hide the input checkbox. Have you tried to do something like 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
-
I'm using Primereact with Tailwind and can't figure out a way to propagate the classname to the
p-checkbox-box
.I can access the headers checkbox Box with
pt={{ headerCheckbox: {box: {className:"border-2"}}, }}
But not the underlying
p-checkbox-box
. I would excpect to have the same passthrough to checkbox. But this refers toMultiSelectPassThroughType<React.HTMLAttributes<HTMLDivElement>>
instead.What am I doing wrong here?
Here's the complete Component:
Beta Was this translation helpful? Give feedback.
All reactions