vue-simple-suggest
vue-simple-suggest copied to clipboard
Vue 3 support
I'm submitting a ...
- [ ] bug report
- [x] feature request
- [ ] support request
What is the current behavior?
- Cannot use this library in a Vue 3 app
How are you importing Vue-simple-suggest?
- [ ] ESNext (original code, single-file .vue component, css included) (
import VueSimpleSuggest from 'vue-simple-suggest/lib'
) - [x] ES6 (
import VueSimpleSuggest from 'vue-simple-suggest'
) - [ ] ES7 and above (
import VueSimpleSuggest from 'vue-simple-suggest/dist/es7'
) - [ ] Bundled version (
import VueSimpleSuggest from 'vue-simple-suggest'
) - [ ] CommonJS (
const VueSimpleSuggest = require('vue-simple-suggest')
) - [ ] UMD Component (
<script type="text/javascript" src="https://unpkg.com/vue-simple-suggest"></script>
)
What is the motivation / use case for changing the behavior?
For using this project in Vue 3 based applications
Please tell us about your environment:
- Vue.js Version: 3.0.11
- Vue-simple-suggest version: 1.7.0
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5 | Dart]
- Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
@kaskar2008, @parag-agarwal - Is there any errors to show why this doesn't work with Vue 3? Just out of curiosity..
Thanks :)
I've started some work to port to Vue 3, but it's not functional yet. Linking here in case it is helpful.
https://github.com/radusuciu/vue-simple-suggest/commit/4ce15b84eef5ca5ec2226266a1bdc8a20626e173
Hi Guys! Any updates on this?
Hello, any news about this feature?
Hey all, I ended up writing my own custom input for this purpose which only supports those features that are needed in my application as it seems that most autocomplete libraries outside of the big UI frameworks have limited support lifespans.
Hi everybody, my pull request https://github.com/KazanExpress/vue-simple-suggest/pull/587 brings initial Vue 3 support, hope it will be useful ;)
Hello, recently company I work for decided to upgrade to Vue 3 and because we need this as npm package I have taken the liberty to use changes made by @tbl0605 and replace Webpack with Vite (+ removed polyfills that we do not use, and made changes to formatting based on our standards) and publish it to npm.
Here it is if anybody still needs it https://www.npmjs.com/package/@vojtechlanka/vue-simple-suggest.
Hi @VojtechLanka, Thank you, I'll try it :)