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 Support #123
Comments
|
Do you have some examples of the errors you're seeing in Vue 3? I haven't tried it in v3 yet. |
|
Just a random example of errors: |
|
Some of those are breaking changes. Any plans to migrate to Vue3? |
|
any news ? |
|
@trevoreyre any luck for this? |
|
Hi there! I think I'm also having vue3 issues. I tried using autocomplete within a vue3 component like this: <script lang="ts">
import { defineComponent } from 'vue'
import Autocomplete from '@trevoreyre/autocomplete-vue'
export default defineComponent({
components: {
Autocomplete,
},
methods: {
search(input: string) {
const countries = ['Germany', 'United States of America', 'Sweden']
if (input.length < 1) {
return []
}
return countries.filter((country) => {
return country.toLowerCase().startsWith(input.toLowerCase())
})
},
},
})
</script>
<template>
<autocomplete
:search="search"
placeholder="Search for a country"
aria-label="Search for a country"
/>
</template>I can't get it to work. Some errors I see: [Vue warn]: Property "$createElement" was accessed during render but is not defined on instance.
at <Autocomplete search=fn<bound search> placeholder="Search for a country" aria-label="Search for a country" >
at <Search>
at <App> [runtime-core.esm-bundler.js:38:16](http://127.0.0.1:5173/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js)
[Vue warn]: Property "_self" was accessed during render but is not defined on instance.
at <Autocomplete search=fn<bound search> placeholder="Search for a country" aria-label="Search for a country" >
at <Search>
at <App> [runtime-core.esm-bundler.js:38:16](http://127.0.0.1:5173/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js)
[Vue warn]: Unhandled error during execution of render function
at <Autocomplete search=fn<bound search> placeholder="Search for a country" aria-label="Search for a country" >
at <Search>
at <App>Any thoughts? Thanks!! |
@dustinmichels many things has been changed for Vue3 core apis and this package not compatible |
|
Any updates? |
Packages doesn't seems run with Vue3, will you update it?
The text was updated successfully, but these errors were encountered: