emberjs / group-helper

An experimental helper to change the granularity of bindings.
MIT License
86 stars 12 forks source link

#Group helper does not work with #each helper when using element naming #8

Open sarus opened 10 years ago

sarus commented 10 years ago

Here's a JSBin illustrating the problem:

http://emberjs.jsbin.com/wawurize/1/edit

Basically this works:

  {{#group}}
    <ul>
    {{#each model}}
      <li>{{this}}</li>
    {{/each}}
    </ul>
  {{/group}}

But this doesn't

  {{#group}}
    <ul>
    {{#each item in model}}
      <li>{{item}}</li>
    {{/each}}
    </ul>
  {{/group}}

Any thoughts on what the problem could be?