I use VueJs, i need to extract javascript variable to generate hidden fields.
But i need to set the name by the index of the variable.
I want to use zig-zag nami
To create input elements with dynamic names by index, you can use the + in a JS expression to concatenate:
+
Generates:
See: https://vuejs.org/v2/guide/syntax.html#Using-JavaScript-Expressions