0👍
Your second v-for
loops over the entire options
object, but most likely you wan to loop over options[id]
.
Try to update the second v-for
to this
<option v-for="(option, prop, val) in options[id]" :key="val" v-bind:value="option">{{[index]}}{{[val]}}</option>
- [Vuejs]-Why is instead of the Vue component some JS comment added to the DOM?
- [Vuejs]-Vue.js dropdown issue in IE
Source:stackexchange.com