Ask a Question
Back to All

Nested accordion not able to access @index of parent

I have a nested accordion here: https://imcw.azurewebsites.net/Programs/Mentoring/Find-a-Mentor

This template:

{{#each Panels}}
{{#each Mentors}} {{/each}}

I need to get the @index of the parent accordion to create unique identifiers for the children, but {{@../index}} always returns null. Do you have an example on nested #each loops that access the parent index?