checkbox_options: class-option #538
HeikoStudt
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I've written code which does add checkedClassName and uncheckedClassName as options, plus append/prepend, and additionally adds a possibility to set the checkbox'es ID so that the custom-render function can create the label for it. I will be able to provide a PR, if you like. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The plugin checkbox_options does prepend a checkbox to the rendered options.
However, I would like to set its CSS classes for styling (basing on Bootstrap 5) e.g. the content into columns. So, it would be nice to have plugin configuration for the checked/unchecked CSS classes.
While at it, I would add an option whether to prepend or append as well.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions