-
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
Field value is incorrectly saved #17473
Labels
Comments
In fact, the pdf has a field (10R) which has a single kid which is a widget (25R).
So when a widget has a parent, we must take the |
Did PR #19054 perhaps fix this issue as well? |
Fixed by #19054. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attach (recommended) or Link to PDF file here:
V_in_parent.pdf
V_in_Field.pdf
Configuration:
The pdf
V_in_parent.pdf
has been created in Acrobat and contains a text field (25R) where theV
entry is in its parent.I opened it in Firefox, changed the field value, saved it and I got the second attached pdf.
In
V_in_Field.pdf
, theV
entry is in the field itself and should overwrite the value from its parent.If I open the saved pdf in Acrobat and I click on the first field then the value is the
V
one from the parent (the one displayed when the field is unfocused comes from the appearance).According to the specs, the
V
entry is inheritable which means (according to the specs again):So normally, the
V
entry should be taken from the field and not from its parent... it's what we do in pdf.js, but unfortunately, Acrobat and Chrome take it from its parent.I don't know if it's a "bug" only with the
V
entry or if we should reconsider the definition of "inheritable" in general.When saving, we must write the
V
entry at the right place.The text was updated successfully, but these errors were encountered: