riophae / vue-treeselect

A multi-select component with nested options support for Vue.js
https://vue-treeselect.js.org/
MIT License
2.89k stars 508 forks source link

Browser freeze with sort-value-by="LEVEL" and reactive input #515

Open ordinov opened 1 year ago

ordinov commented 1 year ago

Hi,

the browser keep freezing (maybe a loop) passing these props:

<treeselect
  v-model="myValue"
  :options="myOptions"
  :multiple="true"
  sort-value-by="LEVEL" />

I found out that the problem happens when I have v-model + multiple + sort-value-by="LEVEL". Any other sortValueBy value or substituting the v-model binding with :value fixes that, but I need this combination of reactive binding and level based sorting

thanks