0👍
After my data structure was improved, I could loop through it as expected.
<div v-for="(item, index) in info" :key="index" class="form-check">
<div v-for="(category, index) in item.category_data" :key="index">
<input type="checkbox" class="form-check-input" v-model="cat_data" :id="index" :value="index">
<label class="form-check-label">{{ category }}</label>
</div>
</div>
- [Vuejs]-Check correct radio button based on db value
- [Vuejs]-Vuejs Transition not functioning with computed property
Source:stackexchange.com