1👍
✅
data.configuration
looks like an object and not an array.
you should try to replace
<td v-for="element in data.configuration">
{{ element.format }}
</td>
by
<td>
{{ data.configuration.format }}
</td>
1👍
You have probably an error in the last interpolation {{ element.format }}
– you are accessing field format
of elements of data.configuration
, you should remove .format
(since it’s undefined). You can see working example of what you are trying to achieve in this codesandbox https://codesandbox.io/s/angry-chatterjee-nzgwuv?file=/src/App.vue
0👍
I can’t explain why.. but! I show it to a friend, retry the same thing as I try the morning and it works..
The answer is
<td>{{ data.configuration.format }}</td>
Thanks for your answers! Have a nice day
Source:stackexchange.com