Skip to content

Get property of object via index #323

@engram-design

Description

@engram-design

I'm aware that the following can be solved by a straightforward helper - but I don't think its really needed!

My issue is that I cannot do the following {{users[user_id]name}} - where user_id would be the index in the users object - for instance, their ID.

A very simplified example is below (which fails due to the error)...

http://jsfiddle.net/ZrzfM/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions