formio / formio.js

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

FIO-7774: added validateWhenHidden option #5495

Closed TanyaGashtold closed 5 months ago

TanyaGashtold commented 5 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: