open-forms icon indicating copy to clipboard operation
open-forms copied to clipboard

Co-sign component stalls submission even when field is hidden

Open hlmr-erik opened this issue 1 year ago • 0 comments

Product versie / Product version

2.4.5

Omschrijf het probleem / Describe the bug

We conditionally show the co-sign field based on a preceding choice. Even when the field is hidden, the submission is now stalled for co-sign; as apparently (Taiga HLMR 86) the stalled-for-co-sign is triggered by the form containing a required co-sign component, whether this component is hidden or not. Making the field non-required through logic, based on mentioned preceding choice, seemed workable; but in this case the form still gets stalled.

Stappen om te reproduceren / Steps to reproduce

-Add a radiogroup to a form -Add a required co-sign component to the form -Set the co-sign component to appear only when one of the radiogroup choices is made

Further steps to reproduce the workaround failing: -Add a rule on the logic tab, specifying the co-sign field to be marked not-required based on a choice in the radiogroup -Make said choice -Observe the form still gets stalled after submission.

Verwacht gedrag / Expected behavior

For the form to be stalled for co-sign only then and when the element is 1. Shown and 2. Required.

Screen resolution

None

Device

None

OS

None

Browser

No response

hlmr-erik avatar Feb 16 '24 12:02 hlmr-erik