You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed instructions in documentation written for my React-PDF version
I have checked if this bug is not already reported
I have checked if an issue is not listed in Known issues
If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo
Description
There is a functionality available in pdf.js that allows for automatic calculations within PDF form fields if formulas are set. When a PDF form field changes value, the calculations are triggered, and the results are automatically updated in the respective form fields. However, this feature is not currently available in react-pdf.
This is screenshot from pdf.js where on selecting of QTY from dropdown is automatically calculates total by multiplying price per * QTY also the grand total get calculated automatically.
pdf.js team also fixed wrong calculation issue recently please consider that to which fixing this
I have been struggling with this issue for the past 2-3 days and would greatly appreciate any assistance or guidance. Thank you in advance for your help.
Steps to reproduce
Load attached PDF using react-pdf.
Change QTY from dropdown and observe that the calculations are not triggered.
Expected behavior
When a form field is changed in a PDF loaded by react-pdf, the calculations set within the PDF should be triggered, and the result should be reflected in the respective form fields.
Actual behavior
The calculations set within the PDF are not getting trigger.
Additional information
No response
Environment
Browser (if applicable): any standard browser
React-PDF version: 7.7.1
React version: 17.0.2
Bundler name and version (if applicable):
The text was updated successfully, but these errors were encountered:
Before you start - checklist
Description
There is a functionality available in pdf.js that allows for automatic calculations within PDF form fields if formulas are set. When a PDF form field changes value, the calculations are triggered, and the results are automatically updated in the respective form fields. However, this feature is not currently available in react-pdf.
This is screenshot from pdf.js where on selecting of QTY from dropdown is automatically calculates total by multiplying price per * QTY also the grand total get calculated automatically.
this functionality is not working in react-pdf
Adding document for ref
calculation-issue (2).pdf
pdf.js team also fixed wrong calculation issue recently please consider that to which fixing this
I have been struggling with this issue for the past 2-3 days and would greatly appreciate any assistance or guidance. Thank you in advance for your help.
Steps to reproduce
Expected behavior
When a form field is changed in a PDF loaded by react-pdf, the calculations set within the PDF should be triggered, and the result should be reflected in the respective form fields.
Actual behavior
The calculations set within the PDF are not getting trigger.
Additional information
No response
Environment
The text was updated successfully, but these errors were encountered: