-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated fields are saved incorrectly into the pdf #15228
Comments
When the data are saved a |
@calixteman yes, do you have the same problem? |
Hi there, I've just realized that we have the same issue. @calixteman From your response, it seems like this is unexpected behavior and this issue should be considered as a bug in PDF.js. Am i right? Is it somehow possible to workaround this issue? |
Yes it's a bug in pdf.js, my comment above was an explanation of what the problem is exactly. |
Did PR #19054 perhaps fix this issue as well? |
Fixed by #19054. |
Attach (recommended) or Link to PDF file here:
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
The pdf has been filled in Firefox PDF viewer and contains two fields with a same name and value "abc". The field values should not disappear after clicking on the values. But in the attached pdf it does - VIDEO from Chrome browser
I should add that it works in the Firefox browser correctly, but this should work everywhere since it is a supported feature.
What went wrong? (add screenshot)
When you have two or more fields with the same name, each value is saved into the widget annotation - "/Widget /Type /Annot..." . . On the left you can see how the two fields with the name "name" are saved into the pdf, on the right in comparison how one field is saved into the pdf. The fields are supposed to be saved like on the right.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
The text was updated successfully, but these errors were encountered: