Repeater inside another repeater

Hello,

I have a repeater that shows a box (and box can be expanded) for each user belonging to the organization. Here’s what it looks like when the user’s boxes are all collapsed:

On expansion of one of the users, a section for “accessible companies” includes another repeater showing each company related to the organization. The problem is this second repeater won’t show each item when it is inside the user’s repeater:

When I move it outside the user’s repeater into any other space, it works as it should:

I’m not sure what I’m missing as to why it won’t work when it’s inside another repeater…

Console says it’s undefined when in inside the user repeater, but no error from the console when it’s by itself:

Here is the logic for reference:

Thank you,
Austin

Hello @Austin_Steil,

It seems the second repeater block doesn’t exist until you expand it.
I can advise you to use the Page Data variables instead:

And then use that variable in the Repeater Data Logic of the second repeater block:

Regards,
Olha

Oh I see, that makes more sense now. It worked, thank you for your help.

Out of curiosity, why does it need the test function in the Repeater Data Logic? Why not just return the property without the test? Not sure I fully understand the reason why it needs to be tested…

Thanks again