SOLVED: Loop inside looped nestable tabs not working

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

[Please describe this bug in as much detail as possible so we can replicate & debug this bug]

Heya, I came across this issue with loop inside looped nestable tabs. Basically the loop inside doesnt loop anything, no matter the structure (direct child of nestable tabs loop / one child between them). Nestable tabs are working correctly, static content is displaying as expected.

Structure:

Referenced page: Fotovoltaické elektrárne - blueprint

Hi Robert,
Thanks so much for your report!

Unfortunately, I cannot reproduce the issue without further information. What exactly is the inner loop doing?

Best regards,
timmse

Hey, thanks a lot for your response.

The main loop is fetching the single tabs and the nested one fetches repeater inside the tabs repeater. I am working with ACF.

Thanks! :slight_smile:

Hm… I have also tested it with an ACF repeater within the content loop and it works without any problems :thinking:

Please send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase.

Did that, thanks a lot for your help

Hi @robert_looplabs ,

I just checked your ACF structure.

Unfortunately, it’s not supported in Bricks. (Limitation in current code base)

Your current structure: (combined group + repeater in multi-level)
Group (photovoltaic_power_plants_page_tabs_section)
– Repeater (photovoltaic_power_plants_page_tabs)
---- Group (photovoltaic_power_plants_page_tab_content)
------ Repeater (photovoltaic_power_plants_page_tab_content_blocks)
-------- Text Field (photovoltaic_power_plants_page_tab_content_block_title)

Bricks wouldn’t be able to detect the parent of the Text Field correctly.

Can you try it this way? (Please note that the data will be erased, please backup before making this change)
Group
– Repeater
---- Tab / Accordion (Just for visual separation)
------ Repeater
-------- Text Field

Regards,
Jenn

1 Like

yes. group repeaters not 100% up. waiting for :).
but overall a nested repeater must be placed inside the main repeater, is this correct?

Sorry for the late reply @grafikundso ,

You can have nested repeaters but don’t add group in between each repeater.
The group is something that causes Bricks unable to retrieve the correct field value. (Can’t find the parent correctly)

Just refer to my above example :slight_smile:

Regards,
Jenn

Yup, this worked for me, totally forgot about this thread, sorry

1 Like

so it’s not planned to get this working? thanks for any info.

Imo should be addressed too, similar issue (probably) here: Loop (inside group) inside relationship loop not fetching anything - ACF