parallax/jsPDF

Cant set CheckBox state at the second time

オープン

#3,321 opened on 2021/11/19

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (4,596 件のフォーク)batch import
Bugdifficulty:mediumhelp wanted

Repository metrics

Stars
 (28,280 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Steps to reproduce:

  1. open sandbox http://raw.githack.com/MrRio/jsPDF/master/
  2. insert code:

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

コントリビューターガイド