Closed mc0918 closed 6 months ago
841 tests +2 841 :white_check_mark: +2 34s :stopwatch: -2s 124 suites ±0 0 :zzz: ±0 1 files ±0 0 :x: ±0
Results for commit c7577a4f. ± Comparison against base commit 8bc15d83.
:recycle: This comment has been updated with latest results.
Overview
Previously, the SimpleConditional logic only checked for an array key and its value, i.e.
for formio data like:
However,
SelectBoxes
andSelect
with the multivalue option enabled format their values differently, leading toSimpleConditional::invoke()
always returning false and the components' values being ignored during validations. An example in SOAP is, because the values of these ignored components are not persisted, missing PDF uploads:This PR expands the SimpleConditional logic to cover these cases, handling the following:
and
So now all the conditionals shown below just work(tm), and values will be persisted.
Checklist
tests/
added or updated