Reputation: 25
data = [ { "1": 1, "2": 2, "test1": "test1", "test2": "test2", "test3": "test3", "test4": "test4" } ]
Not able to display value for numeric keys
Upvotes: 1
Views: 39
Reputation: 8321
you need to use {{ item["1"] }}
as property is not a valid identifier.
Upvotes: 1