formio / formio.js

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

FIO-3703: Fixes an issue where NestedData components with modal view do not render values inside Layout components in modal preview table #5558

Closed alexandraRamanenka closed 2 months ago

alexandraRamanenka commented 3 months ago

Link to Jira Ticket

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

Description

NestedDataComponent was not iterating through layout components to render the values of the components inside them. Also, getComponents method was checking only in rowIndex is undefined, but it also could be null because inside everyComponent method it is set to null if not provided.

Dependencies

This PR depends on the following PRs from other Form.io modules: ...

How has this PR been tested?

I added automated tests to cover [all/the following] cases, including ...

Checklist: