[Vuejs]-Dynamic select box data binding on vuejs

0👍

You could fetch new data when previous data has been changed.

Here is the working example: https://codesandbox.io/embed/vue-template-2zv2o

0👍

Have you tried to use the v-bind:key prop within your v-for loop?

v-bind:key="city.id"

or better with an additional index:

v-for="(city, index) in cities"
[...]
v-bind:key="`${index}-${city.id}`"

Leave a comment