shentao / vue-multiselect

Universal select/multiselect/tagging component for Vue.js
https://vue-multiselect.js.org/
MIT License
6.66k stars 989 forks source link

deprecation WATCH_ARRAY #1648

Closed talaxasy closed 1 year ago

talaxasy commented 1 year ago

image

I use @vue/compat to migrate from vue 2 to vue 3. Compat indicates that property 'options' in VueMultiselect component in watch-effect no deep marker

akki-jat commented 1 year ago

@talaxasy Is this happening for vue-multiselect 2.x or 3.x?

talaxasy commented 1 year ago

@akki-jat vue-multiselect 3

akki-jat commented 1 year ago

@talaxasy Please provide reproducible link.

jkocyigi commented 1 year ago

@akki-jat Created a sandbox for you

https://codesandbox.io/p/sandbox/spring-rgb-wr6gzw?file=%2Fsrc%2Fmain.js&selection=%5B%7B%22endColumn%22%3A1%2C%22endLineNumber%22%3A14%2C%22startColumn%22%3A1%2C%22startLineNumber%22%3A14%7D%5D

Think by add the deep: true to the internalValue watch should resolve the warning, but I don't know how that would affect the rest of the code.

carvemerson commented 1 year ago

Same issue here. A lot of warnings. Do you have any plans to deploy a stable version os this component that is compatible with vue3?

mattelen commented 1 year ago

Fixed and launched on v3.0.0-beta.2

mattelen commented 1 year ago

Same issue here. A lot of warnings. Do you have any plans to deploy a stable version os this component that is compatible with vue3?

Check out https://github.com/shentao/vue-multiselect/discussions/1589