I'm working on creating a for
loop in vue.js that looks like this:
<div class="row" v-for="i = 0; i < numberOfRanking; i++">
<div class="col s6 m6 l6">
Rank 1
</div>
<div class="col s6 m6 l6">
<input type="text" name="reward-sph-rank-1">
</div>
</div>
My goal is to create dynamic fields where users can select the ranking they want to add. How should I go about achieving this?