formio / formio.js

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

FIO-7595 fixed incorrect value for conditionally hidden Checkbox #5594

Closed HannaKurban closed 4 months ago

HannaKurban commented 4 months ago

Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-7595

Description

Fixed the issue of saving the true value for the checkbox component with simple conditions and set before the component they are based on. Previously, if the checkbox component with simple conditions was set before the component on which the checkbox display depends, then the value for this checkbox was not saved when submit data. This has been fixed by using super.setValue method

Dependencies

no

How has this PR been tested?

automated tests have been added

Checklist: