We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get
Due to this line, using get with a numeric key does not work properly.
model() { return { indexes: [2,3,4], items: { 2: 'blah', 3: 'zorz', 4: 'derp' } } },
<ul> {{#each model.indexes as |index|}} <li>{{get model.items index}}</li> {{/each}} </ul>
Demo: http://rwjblue.jsbin.com/loneva/edit?html,js,output
The text was updated successfully, but these errors were encountered:
[BUGFIX beta] Allow numeric keys for the get keyword
a7cb4ac
Fixes emberjs#13296
[BUGFIX beta] Allow numeric keys for the get helper.
49787ed
bbdd81c
Fixes #13296 (cherry picked from commit 49787ed)
No branches or pull requests
Due to this line, using
get
with a numeric key does not work properly.Demo: http://rwjblue.jsbin.com/loneva/edit?html,js,output
The text was updated successfully, but these errors were encountered: