vue-slicksort icon indicating copy to clipboard operation
vue-slicksort copied to clipboard

vue3: Uncaught (in promise) TypeError: _b.call is not a function

Open dy opened this issue 3 years ago • 2 comments

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)

dy avatar Sep 22 '21 20:09 dy

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.

entioentio avatar Sep 30 '21 11:09 entioentio

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.

jakedolan avatar May 26 '22 14:05 jakedolan