XaminProject / handlebars.php

Handlebars processor for php
331 stars 134 forks source link

Can't seem to get parent @key in nested #each to work: {{@../key}} #173

Open primehalo opened 6 years ago

primehalo commented 6 years ago

I can't seem to get the key from a parent loop to work. Given nested eachstatements, shouldn't this be how you access the parent key: {{@../key}}?

chatelain commented 5 years ago

Yes, the same bug. It seems handlebars.js corrected that a few times ago Tell if you have solutions