stephanrauh / ngx-extended-pdf-viewer

A full-blown PDF viewer for Angular 16, 17, and beyond
https://pdfviewer.net
Apache License 2.0
449 stars 167 forks source link

Radio button form selects multiple values #2386

Closed NexPlex closed 6 days ago

NexPlex commented 1 week ago

"ngx-extended-pdf-viewer": "^17.4.6", "@angular/cdk": "16.2.12", "@angular/common": "16.2.12",

The radio button might have five choices: 1, 2, 3, 4, and 5. If Value 4 is set, both 4 and 5 show with an X in the PDFViewer. In other viewers, only value 4 shows as checked. See the sample below.

If value 2 is set. 2, 3, 4, 5 show a X in PDFViewer

PDFViewer image

Edge, Acrobat, or Chrome image

Sample File 1-ca-prepare-advance-directive-en.pdf

NexPlex commented 1 week ago

image

I'm trying to debug this issue. I saw this image on another post. How do I display the annotations in the console?

NexPlex commented 6 days ago

This issue is similar to https://github.com/stephanrauh/ngx-extended-pdf-viewer/issues/2204. I upgraded to "ngx-extended-pdf-viewer": "^20.2.0". Which solved the issue.

stephanrauh commented 6 days ago

That's great news! I was reading your ticket and thought "oh no, not again". :) Bugs with checkboxes or radio buttons usually require a lot of debugging and investigation. So I'm really glad that a simple update solved the matter for you!

Best regards, Stephan