1
I use Ulkitcss and have snippets of a form with radio input fields as below.
When printing (Ctrl+p or window.print() or $windows.print) the field is not checked. The selected radio simply does not appear. How to appear the field checked in print?
I have a code:
<form>
<div class="uk-margin padding">
<div class="uk-form-controls">
<label><input class="uk-radio" type="radio" name="item4">item 1.</label><br>
<label><input class="uk-radio" type="radio" name="item4"> item 2</label><br>
<label><input class="uk-radio" type="radio" name="item4" checked="checked" ng-checked="true">item 3</label><br>
<label><input class="uk-radio" type="radio" name="item4">item 4 </label>
</div>
</div>
</form>
You need to create a verifiable example to demonstrate the problem, only this piece of code does not help. Note that I put this code in the fiddle and the print works perfectly in Chrome: http://jsfiddle.net/xpvt214o/528256/
– Ricardo Pontual
With your code the way it is on the question executed on a page without this Uikit and without the angular is working normal, when I press Ctrl+p it appears checked, then it is something in CSS or more likely at the angle that is taking the checked when printing the page
– hugocsl