I have a <table> that has multiple columns, each having an <input> with a name attribute. To make the name unique, I want to append the row and column index. How do I bind <input name="label['0'][cindex]"> (where cindex is an integer from zero to n-1) in my Vue template?
<th v-for="(col, cindex) in cols" :key="cindex" :col="col">
<div class="input-group">
<input type="text" name="label['0'][cindex]" placeholder="Add Label" value="" v-model="column_labels[cindex]" class="form-control label text-center">
...
</div>
</th>
nameattribute usingv-bindor: