Hi,
I got an parsing issue with the Handlebars I am not able to solve.
I have the following data structure:
{
"testtext": "test",
"entries": [
{
"output": "test2",
"subentries": [
{
"output": "test3"
}
]
}
]
}
and the following handlesbars template
{{#each entries}}
{{output}} - {{../testtext}}
{{#each subentries}}
{{output}} - {{../../testtext}}
{{/each}}
{{/each}}
The first testtext is displayed as I expect, the second one (in the subentry-each) is not displayed, it seems the veil-parser can't handle this kind of context traversing, while "normal" handelbars would do (i checked at http://tryhandlebarsjs.com/).
Do you have an idea how to solve this problem?
Thanks in advance
Hi,
I got an parsing issue with the Handlebars I am not able to solve.
I have the following data structure:
and the following handlesbars template
The first testtext is displayed as I expect, the second one (in the subentry-each) is not displayed, it seems the veil-parser can't handle this kind of context traversing, while "normal" handelbars would do (i checked at http://tryhandlebarsjs.com/).
Do you have an idea how to solve this problem?
Thanks in advance