0๐
โ
You probably got your structure of your object wrong, the functions should be written as a: () => ()
in the object, so the solution for your question would be something like this at https://codepen.io/mohithg/pen/VGEjrV?editors=1011
0๐
<li v-for="range in presetRanges">
{{ range.label }}
</li>
This should work in your case
Source:stackexchange.com