formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.89k stars 1.06k forks source link

Allow manual to overwrite of calculated value prevents calculations from working #5700

Open AnthonyPhan opened 3 months ago

AnthonyPhan commented 3 months ago

Describe the bug When enabling "allow manual override of calculated value" on a text field the calculated value no longer works.

Version/Branch default and 4.19.2

To Reproduce Example in the following sandbox Id: 669b3e1f946bac6400010c58 You can load the sandbox using this link: https://formio.github.io/formio.js/app/sandbox.html

Expected behavior If "Allow manual override of calculated value" is ticked the calculation will still evaluate.

Screenshots 2024 07 20 12.31.41

Additional context This functionality works fine in previous versions of formio.js and appears to be a bug in the recent release.

daneformio commented 3 months ago

https://github.com/user-attachments/assets/94ee9b5b-30f4-468c-a7f6-913111849727

I am not able to reproduce this in more recent versions of the renderer. Please try updating your version and try again.