[Vuejs]-How to get data from droptable from each v-for item in a component?

1👍

I found a quite simple solution here: https://vue-select.org/guide/loops.html

Essentially, you can handle @input with an anonymous inline function so you can pass the parameters that you need, like this:

<v-select
      :sizes="[1,2,3]"
      :value="item.size"
      @input="size => changeSize(item, size)"
    />

Leave a comment