Checkbox selection issue

I am facing issue while rendering the PDF file using webviewer.

Issue is that I have checkboxes in PDF file. When I select the checkboxes inside PDF file that rendered in WebViewer (@pdftron/pdfjs-express), it automatically selects adjacent checkbox with clicked checkbox.

Hello basilravi,

Does this happen with every PDF with Checkboxes? or specific files?
If its with specific files, can you provide a document that has this bug?

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron

@tgordon Thanks for quick response.

It is happening for a specific file.

2022 CFC - Tech Renewal Application (1).PDF (426.8 KB)

Thanks
Ravi

Hello basilravi,

I loaded the file into the latest version of PDFJS Express and the checkboxes are behaving as expected.

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron

Hello @tgordon

Please find the reponse of queries

  1. What version are you running?
    @pdftron/pdfjs-express”: “^7.3.0”,
    @pdftron/webviewer”: “^7.2.0”,

  2. Can you reproduce this on the demo page? PDF.js Viewer Demo | PDF.js Express
    Nope. It working fine on demo

  3. What browser are you using?
    Chrome

Thanks
Ravi Basil

Hello basilravi,

Since its no longer reproducible in the latest version, I recommend updating.
Here is the migration guide from v7.x → v8.x Migrating to PDF.js Express 8.0 | Documentation

Best regards
Tyler Gordon
Web Development Support Engineer
PDFTron