Hi, i try to " < Each > " json array, but this json array don`t have a “names”, just values (example below)
[
"data1",
"data2",
"data3",
"data4"
]
Any example how to do it with this type of Json ?
Hi, i try to " < Each > " json array, but this json array don`t have a “names”, just values (example below)
[
"data1",
"data2",
"data3",
"data4"
]
Any example how to do it with this type of Json ?
Hi,
This should just work. An <Each Items="{}">
will pick each item from the array.
I have this :
<Each Items="{data}">
<Text Value="{}" />
</Each>
and it says :
Fuse.Scripting.ArrayMirror
This works just fine (Fuse v0.27.1):
<App>
<JavaScript>
exports.data = [
"data1",
"data2",
"data3",
"data4"
];
</JavaScript>
<StackPanel>
<Each Items="{data}">
<Text Value="{}" />
</Each>
</StackPanel>
</App>