Questions tagged [vue-select]

A native Vue.js component that provides similar functionality to Select2 without the overhead of jQuery. This tag relates to the package at https://www.npmjs.com/package/vue-select and should not be used for general questions about

125 questions
0
votes
1 answer

how to display an array of objects where values are also an array

I am using vue-select and I am looking to display my select box like this: label 1 item 1 item 2 item 3 item 4 label 2 item 1 item 2 item 3 item 4 etc.etc. Expecting: labels can't be selected and only items can be…
clusterBuddy
  • 1,523
  • 12
  • 39
0
votes
2 answers

How to prevent Vue Select from highlighting the first option?

I'm using Vue Select as a typeahead component. It does an AJAX fetch to the server. By default, it highlights the first option that comes back from the server: Instead, I would like it to work just like the Google typeahead control in my browser.…
ccleve
  • 15,239
  • 27
  • 91
  • 157
0
votes
1 answer

Layout Issue of vue-select in Vue.js

When I test vue-select in POC project, it works well, see screen shot below: However, when I use vue-select in my real project, it is disordered, see screen below, did any one have similar issue and how to fix it? after @import…
user1456650
  • 41
  • 1
  • 6
0
votes
2 answers

Don't show selected option in vue-select

I have an array "option" with some element inside. And have vue-select feature. I want to not to show selected option in all options list. So, I want to delete "RU" option form that list if "RU" is selected. Are there any decisions? My component…
10k20
  • 137
  • 2
  • 16
0
votes
1 answer

Using object as Vue Select options

I know, Vue Select docs specify that options should be an array, but is there a way around it? I want to use object keys as values and object values as labels. My data: obj: { value: 'en', options: { 'ar': 'Arabic', 'ast':…
MeeraWeeks
  • 83
  • 9
0
votes
2 answers

Vuelidate check array has items on blur

I am using nuxt-vue-select to allow users to select multiple objects form an array locations and then I want to use Vuelidate to try and validate that at least one item in the array has been selected/set on blur however I can not get vuelidate do do…
Simon
  • 653
  • 3
  • 14
  • 25
0
votes
0 answers

Somthing when wrong. vue-select2 not working in vue2, How doit right?

Haixing-Hu/vue-select in version vue-select2 not working in vue2 and need some help... I do everything like the doc but nothing happends this is my template code...