Skip to content

Conversation

@HannaKurban
Copy link
Contributor

Link to Jira Ticket

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

Description

Previously, for a Wizard form with DataGrid component with Nested Form component validation did not trigger when clicking on the Next Page button. This happened because after loading the nested form inside Data Grid component, the DataGrid component did not update the schema of the nested form component, which led to the fact that when iterating the components with eachComponentData method, the nested form did not include components object and the iterations stopped. This issue was fixed by checking changes of the Nested form component inside DataGrid using onChange method.

Breaking Changes / Backwards Compatibility

n/a

Dependencies

n/a

How has this PR been tested?

Automated tests were added. All tests pass locally

Checklist:

  • I have completed the above PR template
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • My changes include tests that prove my fix is effective (or that my feature works as intended)
  • New and existing unit/integration tests pass locally with my changes
  • Any dependent changes have corresponding PRs that are listed above

@johnformio johnformio merged commit ce06dc7 into master Apr 25, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants