vue-slicksort
vue-slicksort copied to clipboard
vue3: Uncaught (in promise) TypeError: _b.call is not a function
Following the docs:
<SlickList axis="y" v-model:list="formData.sections">
<SlickItem v-for="(section, sid) in formData.sections" :key="section.id" :index="sid">
{{ section }}
</SlickItem>
</SlickList>
Getting the error from the title: Uncaught (in promise) TypeError: _b.call is not a function at Proxy.render (vue-slicksort.umd.js:1110)
I experience it as well, I think it has to do with the fact that I'm using Vue3 migration build. However, even if I set
export default {
...
compatConfig: {
MODE: 3
},
...
}
in the component where SlickList component is used, it still errors out.
For others using the Vue3 migration build, I was able to resolve the issue reported above by setting the compatConfig mode to 3 in the SlickList
, SlickItem
and DragHandle
components in a fork of the v2.0.0-alpha.5 branch of this library. Not ideal, but handy while using the migration build.