Difficulty accessing specific data elements #3607
-
Newbie here:
But if inserted data is a json string of the same data ie:
I get strange results:
I see in the stringify span what appears to be the correct data, and it displays it the correct number of times: But I am unable to see the second span which should contain the formField.type 'text' .
The template does not render. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
an x-for template can only have one child (https://alpinejs.dev/directives/for) Put both spam tags inside a div (https://codepen.io/SimoTod/pen/jOegyLR?editors=1111) |
Beta Was this translation helpful? Give feedback.
an x-for template can only have one child (https://alpinejs.dev/directives/for)
Put both spam tags inside a div (https://codepen.io/SimoTod/pen/jOegyLR?editors=1111)