Polymer: Polymer::Attributes: couldn`t decode Array as JSON

Created on 31 May 2015  路  4Comments  路  Source: Polymer/polymer

Hi i having a issue when try to use is="dom-repeat"

Polymer::Attributes: couldn`t decode Array as JSON

This is my component

`````` html









```
``````

Most helpful comment

Good point. Might need a better error message.

All 4 comments

Should be items="{{menuItems}}".

Good point. Might need a better error message.

Stumbled in the same problem. My <template is="dom-repeat" items="_memberUids" as="uid"> should be <template is="dom-repeat" items="[[_memberUids]]" as="uid">. This definitely needs a better error message.

Same error, I pass values from ASP.NET MVC into my Polymer views using reflectToAttribute and then I forgot {{ inside the attribute items="" of my template is="dom-repeat"
A better error message would help

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yairopro picture yairopro  路  3Comments

mbana picture mbana  路  3Comments

yordis picture yordis  路  3Comments

limonte picture limonte  路  3Comments

nazar-pc picture nazar-pc  路  4Comments