I have a couple of fields, that are rendered through v-for loop:
<div v-for="element in elements" class="uk-form-row uk-margin-small-top">
<input class="uk-width-1-1 uk-form-small" type="text" placeholder="element" style="width:50%">
</div>
And I need to pass them through a POST request.
elements is just an array, that contains a different number of:
value: ""
and after submitting the form, an array is just a collection of empty objects
How can I change my code to pass an array of values from those fields?