Skip to content
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

Calculations are not working as expected for grouped fields #15092

Closed
jegathesan opened this issue Jun 24, 2022 · 1 comment · Fixed by #15093
Closed

Calculations are not working as expected for grouped fields #15092

jegathesan opened this issue Jun 24, 2022 · 1 comment · Fixed by #15093
Assignees
Labels

Comments

@jegathesan
Copy link

Sample File:
2243AEBC-F27A-4BFC-BD36-AED862218979.pdf

Configuration:

  • Web browser and its version: Chrome (102.0.5005.115), Firefox (99.0.1), Also not working in hosted viewer https://mozilla.github.io/pdf.js/web/viewer.html
  • Operating system and its version: MacOS, Windows
  • PDF.js version: v2.14.305
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Upload the given sample in viewer https://mozilla.github.io/pdf.js/web/viewer.html
  2. Change the value of Value 1 & 2. It should sum "Value 1" & "Value 2" field value and show in "Total 1+2"

What is the expected behavior? (add screenshot)
Both "Total 1+2" should have sum of "Value 1" & "Value 2"

What went wrong? (add screenshot)
Screenshot 2022-06-24 at 4 46 14 PM

@calixteman calixteman self-assigned this Jun 24, 2022
calixteman added a commit that referenced this issue Jun 24, 2022
[JS] Update siblings when a field is updated after a calculation (#15092)
@jegathesan
Copy link
Author

Hey @calixteman,

Thanks for your quick fix. Now the calculation is working fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants