You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I would really appreciate if you could add a SPAN tag around or before the rendering of the valueLabel prop in Checkbox and CheckboxGroup components to better support custom styling of checkboxes. It would allow something like this:
Closing because old and proposed example deviates from the Bootstrap 3.x examples. Future versions will support Bootstrap 4, and think the updated markup will solve this problem.
Hi,
I would really appreciate if you could add a SPAN tag around or before the rendering of the valueLabel prop in Checkbox and CheckboxGroup components to better support custom styling of checkboxes. It would allow something like this:
input[type="checkbox"]:not(:checked) ~ span:before { content: ""; } input[type="checkbox"]:checked ~ span { content: "✕"; } input[type="checkbox"][disabled] ~ span { /* custom styling */ }
More information can be found at Stackoverflow.
Thanks.
The text was updated successfully, but these errors were encountered: