You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project build with symfony 5 & vue3 and i removed the options api using webpack encore:
.addPlugin(
new webpack.DefinePlugin({
// Drop Options API from bundle
__VUE_OPTIONS_API__: false,
__VUE_PROD_DEVTOOLS__: false
})
)
After successfully installing vue-select with: npm install git+https://github.com/sagalbot/vue-select.git#feat/vue-3-compat and fixing that pointerScroll.js error by upgrading webpack to the version 5 ( which adds the chaining support ) i receive another strange error and i'm not sure how to fix it, it isn't very explicit and it only throws it in the DevTools console:
Select.vue:7 Uncaught (in promise) TypeError: Cannot read property 'header' of undefined
at Proxy.render (Select.vue:7)
at renderComponentRoot (runtime-core.esm-bundler.js:696)
at componentEffect (runtime-core.esm-bundler.js:4035)
at reactiveEffect (reactivity.esm-bundler.js:42)
at effect (reactivity.esm-bundler.js:17)
at setupRenderEffect (runtime-core.esm-bundler.js:4018)
at mountComponent (runtime-core.esm-bundler.js:3976)
at processComponent (runtime-core.esm-bundler.js:3936)
at patch (runtime-core.esm-bundler.js:3547)
at componentEffect (runtime-core.esm-bundler.js:4053)
It says the problem is at thhis line: <slot name="header" v-bind="scope.header" />
I'm not sure if this problem is caused by the removal of the option api but i had several problems with other packages as well that were written using vue's option api and since i'm removing it, the package cannot work, but i'm not sure what causes the above error...
The text was updated successfully, but these errors were encountered:
I have a project build with symfony 5 & vue3 and i removed the options api using webpack encore:
After successfully installing vue-select with:
npm install git+https://github.com/sagalbot/vue-select.git#feat/vue-3-compat
and fixing that pointerScroll.js error by upgrading webpack to the version 5 ( which adds the chaining support ) i receive another strange error and i'm not sure how to fix it, it isn't very explicit and it only throws it in the DevTools console:It says the problem is at thhis line:
<slot name="header" v-bind="scope.header" />
My VueSelect wrapper:
I'm not sure if this problem is caused by the removal of the option api but i had several problems with other packages as well that were written using vue's option api and since i'm removing it, the package cannot work, but i'm not sure what causes the above error...
The text was updated successfully, but these errors were encountered: