Access a variables outside of {{each}} method
I would like to transmit a payload to my layout: { a: 'a', arr: [] }.
While iterating through the 'arr' using {{each arr}}, I intend to access the 'a' element.
However, the step variables seem to assume that I should have a property on every element of the array.
How can I achieve this?
6 Replies
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
@jondumea99 Thank you!
Hi @starlorddude
Are you able to access outer element of each context
@jondumea99
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View