Closed barneycarroll closed 8 years ago
I thought this was an issue with 'linked' Arrays, but it seems to be more complicated than that. See this twiddle:
export default Ember.Controller.extend({ numbers:['1','2','3','4'], letters:{ '0':'a', '1':'b', '2':'c', '3':'d' } });
{{#each numbers as | value index |}} {{my-component number=value letter=(get letters index) }} {{/each}}
The get helper is implemented in Ember itself (not HTMLBars), so this is likely an issue over there.
get
Oops! Thanks. I misread the test as the implementation :)
I thought this was an issue with 'linked' Arrays, but it seems to be more complicated than that. See this twiddle: