riophae / vue-treeselect

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

Vue 3 #422

Open songoo opened 4 years ago

songoo commented 4 years ago

Hello, is it vue 3 compatible ?

laurisstepanovs commented 3 years ago

I tried to integrate it into my project but I am getting an error in the browser console so looks like it's not compatible with Vue3.

vue-treeselect.cjs.js?ca17:1622 Uncaught (in promise) TypeError: _this16.$set is not a function
    at eval (vue-treeselect.cjs.js?ca17:1622)
    at Array.map (<anonymous>)
    at Proxy.normalize (vue-treeselect.cjs.js?ca17:1596)
    at Proxy.initialize (vue-treeselect.cjs.js?ca17:1059)
    at Proxy.handler (vue-treeselect.cjs.js?ca17:991)
    at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:163)
    at job (runtime-core.esm-bundler.js?5c40:2021)
    at doWatch (runtime-core.esm-bundler.js?5c40:2068)
    at watch (runtime-core.esm-bundler.js?5c40:1933)

Does any updates are coming on Vue3?

songoo commented 3 years ago

I ended up with this https://www.primefaces.org/primevue/showcase/#/multiselect , to be frank i started to use almost everything that is in it, pretty nice. (at start had an issue that npm did not install latest version, but all working on v3 after solving that)

alicompu commented 3 years ago

Hello use this . Great https://github.com/megafetis/vue3-treeselect

notflip commented 1 year ago

Is there a maintained version of this in 2023?

rohini-mothe-maersk commented 3 months ago

I used this lib but when we do npm install for compete app , it is throwing error for vue2 dependency