Abhishek, I am using below array of objects , ideally it should work even
with array of object , every indexed position have an object
[
{
element: "input",
type: "text",
title: "Name",
name: "name",
value: "",
size: "30",
class: "",
required: "required",
disabled: "",
onblur: "",
onchange: "",
onclick: "display()",
onfocus: "",
oninput: "",
onkeydown: "",
onkeypress: "",
onkeyup: "",
id: 0
},
{
element: "checkbox",
type: "checkbox",
title: "Checkbox",
name: "name",
value: "",
size: "30",
class: "",
required: "required",
disabled: "",
onchange: "",
onclick: "",
onselect: "",
id: 1
}
];
On Tuesday, July 18, 2017 at 10:24:36 AM UTC-5, abhishek gupta wrote:
>
> The error you are getting is not because you are not using dom-repeat
> properly but because you are not passing an Array to it.
>
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/95bc8856-cb8e-4401-9655-72793046f84c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.