You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I use double #each context but 2nd one is not a sub property of the first iterated one.
ANd by default second context search in sub property of first context.
But I use named prjected parameter {{#each pdts as | pdtsItem |}} and second one don't use this ref.
So 2 choices :
Hi,
I use double
#each
context but 2nd one is not a sub property of the first iterated one.ANd by default second context search in sub property of first context.
But I use named prjected parameter
{{#each pdts as | pdtsItem |}}
and second one don't use this ref.So 2 choices :
See example below :
https://handlebarsjs.com/playground.html#format=1¤tExample=%7B%22template%22%3A%22%7B%7B%23each%20pdts%20as%20%7C%20pdtsItem%20%7C%7D%7D%5C%5Cn%5C%5CnTest%5C%5Cn%7B%7B%7BpdtsItem.nom%7D%7D%7D%5C%5Cn%5C%5Cn%7B%7B%23each%20clts%20as%20%7C%20cltsItem%20%7C%7D%7D%5C%5Cn%5C%5Cn%7B%7B%7BcltsItem.nom%7D%7D%7D%5C%5CnBlob%7B%7B%2Feach%7D%7D%7B%7B%2Feach%7D%7D%5Cn%22%2C%22partials%22%3A%5B%5D%2C%22input%22%3A%22%7B%5Cn%20%20pdts%3A%20%5B%7Bnom%3A%20%5C%22TOTO%5C%22%7D%5D%5Cn%20%20%2C%20clts%3A%20%5B%7Bnom%3A%20%5C%22TITI%5C%22%7D%5D%5Cn%20%20%5Cn%7D%5Cn%22%2C%22output%22%3A%22%5C%5Cn%5C%5CnTest%5C%5CnTOTO%5C%5Cn%5C%5Cn%5Cn%22%2C%22preparationScript%22%3A%22%2F%2F%20Handlebars.registerHelper('loud'%2C%20function(string)%20%7B%5Cn%2F%2F%20%20%20%20return%20string.toUpperCase()%5Cn%2F%2F%20%7D)%3B%5Cn%22%2C%22handlebarsVersion%22%3A%224.7.7%22%7D
The text was updated successfully, but these errors were encountered: