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

Not Vuejs compatible if looking to customize. #125

Open
timothymarois opened this issue Feb 17, 2021 · 1 comment
Open

Not Vuejs compatible if looking to customize. #125

timothymarois opened this issue Feb 17, 2021 · 1 comment
Labels
help wanted Extra attention is needed vue Only applies to the autocomplete-vue package

Comments

@timothymarois
Copy link

timothymarois commented Feb 17, 2021

After spending most of my day working with this, I've come to the conclusion that this was not designed for reactive frameworks. Its working too much with the DOM and preventing many things from working properly.

You can however, use it out of the box and appears to function ok, but if you want to change the template (default slot), using your own text component and list components, you will be very disappointed. Value isnt reactive, input listeners dont work well with vuejs, while I 'rigged' it to be functional, I reached one more problem in the list elements where I was not able to use my own @click event for list items. If you change the list elements outside for a UL and LI format it no longer works at all.

If you try to build your own template, it just does not work properly. Until V3 is ready, this is not VueJS compatible.

@trevoreyre
Copy link
Owner

Yep, there's definitely some things to iron out for the customized templates in Vue. If you have some specific errors you're seeing, or some reproduction steps, I can try to address them when I eventually make this compatible with Vue v3.

Related: #123

@trevoreyre trevoreyre added vue Only applies to the autocomplete-vue package help wanted Extra attention is needed labels Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed vue Only applies to the autocomplete-vue package
Projects
None yet
Development

No branches or pull requests

2 participants