Custom Checkbox Printing Issue
See original GitHub issueFormatting of a custom checkbox in Bootstrap 4.3.1 is not working.
Chrome: it is not shown at all when checked or shows only an outline when not checked. Edge: boxes are always unchecked. Firefox: it is not shown at all when checked or shows only an outline when not checked. IE11: boxes are always unchecked.
Example:
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" checked />
<label class="custom-control-label">This is checked.</label>
</div>
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" />
<label class="custom-control-label">This is not checked.</label>
</div>
- Operating system and version: Windows 10 1709
- Browser and version: Google Chrome Version 72.0.3626.121 (Official Build) (32-bit)
- Browser and version: Microsoft Edge 41.16299.967.0
- Browser and version: Mozilla Firefox Version 60.5.1esr (32-bit)
- Browser and version: Internet Explorer Version 11.967.16299.0
- https://codepen.io/scottkuhl/pen/mopKQE
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Printing a checked checkbox / tick box with HTML and CSS
I'm mainly just printing text, so it's not a big deal, but the only problem is that I have to print some "unticked"...
Read more >datatable printing issue — DataTables forums
The checkbox would be a custom control, something your code does, so without seeing that code, or better still, having a running example...
Read more >Ignores scroll and custom checkbox while printing to pdf
1) custom checkboxes 2) ignores the scroll and the complete list is being displayed. Any tricks for this? Or it sounds like an...
Read more >Duplex checkbox missing in preview window-Not able to print
Under the Paper/Quality or Layout tab, select the 2-sided / duplex printing option. Apply and save the settings. Now try to print. If...
Read more >Microsoft Word 2013 failing to print checkbox character
Is the behavior different when you use different print servers? that is try printing to PDF, XPS, and or OneNote. It may be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

even though in future we’re likely to scale back/drop print support, this is something that should be tackled as we don’t want things outright broken. easiest here would likely be to drop the customisation in print media and just display the regular checkbox at least
@mdo it seems #29714 was never backported though.
@MartijnCuppens please backport #29714 to the v4-dev-xmr branch