Helpers with dependent keys inside {{#each}} ... {{/each}} don't work #2948

Closed
madadam opened this Issue Jul 3, 2013 · 2 comments

Projects

None yet

3 participants

@madadam
madadam commented Jul 3, 2013

I created a jsfiddle to demonstrate this issue: http://jsfiddle.net/DNwaT/2/ (open the console to see the error)

Basically, when I register a helper that has some dependent keys, and then try to use this helper inside a {{#each}} ... {{/each}} block, I get Uncaught TypeError: Cannot read property '0' of null error.

I also found this unanswered stackoverflow question that seems to deal with the same issue: http://stackoverflow.com/questions/15690702/emberjs-issue-with-a-custom-template-helper-and-its-dependencies

@machty
Member
machty commented Jul 3, 2013

/cc @ghempton: any thoughts?

@wagenet
Member
wagenet commented Jul 28, 2013

@madadam I believe #3052 fixes this. If that's incorrect, please let me know.

@wagenet wagenet closed this Jul 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment