Open F145h opened 2 years ago
Steps to reproduce:
var doc = new jsPDF(); doc.text('CheckBox:', 10, 125); var checkBox = new jsPDF.AcroForm.CheckBox(); checkBox.fieldName = "CheckBox1"; checkBox.Rect = [50, 118, 10, 10]; checkBox.appearanceState = 'Off' //checked On/Off doc.addField(checkBox);
The checkbox does not turn on second time. Issue In Acrobat Reader reproduced too for saved document
Thanks for reporting this. Can't reproduce it in Acrobat Reader, though - seems to work fine there.
Steps to reproduce:
var doc = new jsPDF(); doc.text('CheckBox:', 10, 125); var checkBox = new jsPDF.AcroForm.CheckBox(); checkBox.fieldName = "CheckBox1"; checkBox.Rect = [50, 118, 10, 10]; checkBox.appearanceState = 'Off' //checked On/Off doc.addField(checkBox);
The checkbox does not turn on second time. Issue In Acrobat Reader reproduced too for saved document