Components within ListView don't show in `data` attribute

I'm trying to access the data contained in a form component embedded in a listView.

When I browse listView.data, the components are all undefined. I've played around with the "form data key" attribute on the listView, but I suspect that might not be the source of my problem.

One complicating factor on my project is that I have another listView already populated in the app, albeit with different data. Could this be part of the problem?

Screen Shot 2021-12-27 at 12.50.25 PM

Thanks,
Chris

1 Like

@ccomp

Hey there! This is not currently supported in listViews. Child components of forms do not have their values passed up to the parent listView.data property. You can reference them directly inside of formName[index].data like below:

You can also reference them individually under the child component of textInput1[index].value.

Hope that helps!\

1 Like