Vue-multiselect: Is there a way to use multiselect as text input with autocomplete?

Created on 29 Mar 2017  路  6Comments  路  Source: shentao/vue-multiselect

Hi, is there a way to use multiselect as text input with autocomplete? Means let it allow to keep typed value, something like tag, but just a single value without additional styling: https://screencast.com/t/0EvGwC6PBB0

It would be really helpful, thanks!

enhancement

Most helpful comment

@shentao mind explaining a bit the "how"? Actually, its not possible to get an "autocomplete" behavior. The text will always be reset if no (valid) option is selected.

All 6 comments

The current implementation of the slot kinda hinders the ability to disable the noResult slot. I guess this would make for a nice enhancement.

+1

I believe this is possible right now with how the noResult slot works.

@shentao mind explaining a bit the "how"? Actually, its not possible to get an "autocomplete" behavior. The text will always be reset if no (valid) option is selected.

Did anyone figure this out? is there a jsfiddle or codepen for this?

Maybe you can try to use the tagging feature with :multiple="false"?
https://vue-multiselect.js.org/#sub-tagging

Was this page helpful?
0 / 5 - 0 ratings