Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dy opened this issue Sep 22, 2021 · 2 comments
Open

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

dy opened this issue Sep 22, 2021 · 2 comments

Comments

@dy
Copy link

dy commented Sep 22, 2021

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)

@entioentio
Copy link

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.

@jakedolan
Copy link

jakedolan commented May 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants