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
Questions tagged [vue-select]
125 questions
2
votes
2 answers
Import vue package in laravel
What is the corect way to import vue packages in laravel 5.6? It comes with vue and bootstrap preinstall. I see they are all compile in app.js from public directory but I can figure out how to import https://github.com/moreta/vue-search-select and…

Jarlio
- 117
- 1
- 2
- 11
2
votes
1 answer
Add new tags to vue-select
In the vue-select vuejs component, if you see on their demo page, you can select multiple items from the dropdown. However, if you type something that is not available in the dropdown, then you can just type that new text and press enter and it will…

asanas
- 3,782
- 11
- 43
- 72
1
vote
1 answer
vue-select v4 vuejs3 close dropdown on click input
I am trying to close dropdown click in v-select input and clickaway. My code below and I am using vuejs v3 composition api, nuxtjs, vue-select ^4.0.0-beta.6. Can figure out working way.

Šarūnas Lekstutis
- 43
- 7
1
vote
3 answers
How can i get id of my selected option with vue select
I have 2 vue-selects one of users and one of addresses. I need to get the id of what I select so i can send the id to my axios request where I need to compare if User has more than one address and show all of these addresses. I know I need to use…

color
- 86
- 2
- 6
1
vote
1 answer
Vue-select not loading more when searching
So I made a simple v-select where i put an infinite scroll. This works good I can load all the users and when i scroll down 10 more users are added to the array. When I typ i can filter in the select and i get to see 10 users filtered but when I…

color
- 86
- 2
- 6
1
vote
1 answer
Vue-Select is Unable to Create Options from an Array
I am a beginner who is currently learning Vue and Nuxt JS and developing a simple web application with Nuxt JS. Currently, I am trying to make a Vue Select option where I pass an array and I have the options be the elements in the array. This is my…

Louis Zhang
- 13
- 2
1
vote
1 answer
Vue-Select: How can I convert this fetch() code to use axios?
I am trying to use the vue-select package in my application. I have some code that I copied from the docs and it works fine. However, I would like to convert it to use axios instead of fetch() for readability and also so I can use my own axios…

redshift
- 4,815
- 13
- 75
- 138
1
vote
1 answer
Vue Select - Also search in Meta-Data
Trying to add vue-select to my vue app I have the following code:
The options look as follows:
[
{
country: 'canada',
meta: {
…

SNO
- 793
- 1
- 10
- 30
1
vote
1 answer
How to create a multiple options from a single data coming from the API for displaying it as a select/dropdown in VueJS
I am trying to display the select drop down using vs-select, the options are taken from the API. Here is my scenario I have made all my components dynamic, i have 3 cards in my front page, if I click any of the card respective contents are…

app_er
- 87
- 10
1
vote
2 answers
I got error trying to use vue-select in vuejs3 app
Trying to use vue-select in vuejs3 app I got error in console:
test.vue?2762:16 Uncaught TypeError: _App_vue__WEBPACK_IMPORTED_MODULE_2__.default.component is not a function
at eval (test.vue?2762:16)
at…

Petro Gromovo
- 1,755
- 5
- 33
- 91
1
vote
3 answers
Vue select click on selector event
I use vue-select and I need to trigger the option open event, I tried:
but this not support vue methods.

Дима Тиунов
- 13
- 4
1
vote
1 answer
vuejs: vue-select component not updating values
I am trying to use the vue-select component for a dropdown list. So far I have written.
…

matt
- 1,817
- 14
- 35
1
vote
1 answer
Update initial value. Vee validate does not detect changes?
I have two form fields: country and region. First, you have to choose a country than a region. If a country is selected I add the regions (options) to the next component: Region.
I add the options for the regions with axios.
The scenario where I…

NKSM
- 5,422
- 4
- 25
- 38
1
vote
2 answers
Use Vue prop as part of function declaration
I use vue-select in my Vue app. I created a component as a wrapper for v-select. To return only a specific column of the options array, I use the :reduce prop of vue-select.

ericrijn
- 23
- 4
1
vote
0 answers
Prevent vue select from displaying all options
I cannot seem to find a way to limit the size of the select field when multiple options are selected. I wish it was possible to see which options are selected only when the select field is focused. Is there any way to prevent all options from being…

Jeremy Thomas
- 6,240
- 9
- 47
- 92