question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Checkbox Printing Issue

See original GitHub issue

Formatting 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:closed
  • Created 5 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
patrickhlaukecommented, Mar 15, 2019

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

1reaction
XhmikosRcommented, May 14, 2020

@mdo it seems #29714 was never backported though.

@MartijnCuppens please backport #29714 to the v4-dev-xmr branch

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found