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

FIO-7774: added validateWhenHidden option #5495

Closed TanyaGashtold closed 8 months ago

TanyaGashtold commented 9 months ago

Link to Jira Ticket

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

Description

What changed?

added validateWhenHidden option that trigger validation of hidden/conditionally hidden components. The validation errors of hidden components are shown in the alerts on form submit.

How has this PR been tested?

Manually + added test

Checklist: