- Issue created by @igorbiki
- Status changed to Needs work
7 months ago 1:27am 14 June 2024 - 🇧🇷Brazil joaopauloc.dev
Hi @igorbiki thanks for reporting the issue.
I could reproduce the issue.
I added the unit test for the issue and also i'm adding the patch to fix it. - Status changed to Needs review
7 months ago 12:46pm 14 June 2024 - 🇨🇦Canada igorbiki
This fixes optional fields vs required ones.
Even with the patch, if both input fields are on wizard's first page, and calculation field (sum) is on the second, the sum is empty.
This is how webform looks like:
- page 1
+ number field, first
+ number field, second
- page 2
+ calculation field, sum with ":first|0 + :second|0"Here is webform export as well, hope it helps.
- Status changed to Needs work
7 months ago 10:54pm 18 June 2024 - 🇧🇷Brazil joaopauloc.dev
Thanks @igorbiki for the quick update.
I could reproduce the issue. I'll take a look. - 🇧🇷Brazil joaopauloc.dev
Hi @igor, despite the tests pass, I think I need more tests to merge this one into the release.
But let us know if patch fix your issue case.
Next days I'll take a look again and write more detailed unit tests to make sure that everything is working as expected. - 🇨🇦Canada igorbiki
This fixed the issue with input fields on previous pages. Works fine with optional and required fields/numbers.
- Status changed to RTBC
5 months ago 6:27pm 14 August 2024 - Status changed to Fixed
4 months ago 8:48pm 17 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.