Skip to content

Cant set CheckBox state at the second time #3321

Open
@F145h

Description

@F145h

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

Activity

HackbrettXXX

HackbrettXXX commented on Dec 2, 2021

@HackbrettXXX
Collaborator

Thanks for reporting this. Can't reproduce it in Acrobat Reader, though - seems to work fine there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @F145h@HackbrettXXX

        Issue actions

          Cant set CheckBox state at the second time · Issue #3321 · parallax/jsPDF