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 do you have a default/initially selected option with custom slots in vue-select?

I'm not sure how to set a default/initial selected option using vue-select, specifically when you use slots. Here is the code: https://vue-select.org/guide/slots.html I would want one of the options to initially display on page load.
wsyq1n
  • 117
  • 2
  • 10
0
votes
1 answer

Delete animations on vue-select?

I need to remove the completely default animation from vue-select. How to do it? I tried to replace the styles from the box with my own, but I didn’t get the result..
0
votes
1 answer

vue-select allowing multiple duplicates

I'm dynamically creating vue-select dropdown lists that allow multiple selection. But these dropdown lists are allowing the same option being chosen. How can I change this behaviour without using v-model (since I'm creating these lists…
jj008
  • 1,033
  • 3
  • 23
  • 48
0
votes
1 answer

Vue.js load component theme without Vue.use

I am using Cool-Select and it requires the following code to load its theme: import VueSelect from 'vue-cool-select' Vue.use(VueSelect, { theme:'material-design' }) The problem is that I do not want to have to import the entire vue code in order…
Sam
  • 1,557
  • 3
  • 26
  • 51
0
votes
1 answer

Cannot trigger data selected in vue-select when show record

I am using vue-select. I select province_id then create record success, but when show record, I cannot trigger data selected to select2.
0
votes
2 answers

Updating vue-select component when changing v-model prop externally

I am sure I am going to kick myself when I see what the issue is but I am trying to use vue-select to edit field in a selected item. Essentially I am looking to modify passed in v-model external to the component and have the component update the…
colinbes
  • 417
  • 6
  • 14
0
votes
1 answer

Vue: Dropdown box in vue-select not showing value after selecting

I am populating a dropdown from a computed method that returns an array of store objects. Then in the vue-select, I am passing this in as options and having the option.address show in the dropdown. That is working as expected but when clicking a…
RohimL
  • 157
  • 1
  • 3
  • 13
0
votes
2 answers

Vue: Rendering a list of options in vue-select dropdown that share same value?

I have a dropdown that is showing credit card options by their label. The value of the label field is four asteriks and the last 4 digits of the card like this: "****4241".
RohimL
  • 157
  • 1
  • 3
  • 13
0
votes
1 answer

How to use the concatenate names of the elements/options in one function in vue-select

I have a project where I use many vue-select components. My components: ...
Mario Ene
  • 843
  • 1
  • 10
  • 22
0
votes
2 answers

Vue-Select: Pushing a 2 dimensional array to :options

The plugin Vue-Select. What I was trying to do is, make a search-select-dropdown input based on database. So here's my SQL first named Ms_Location. id_Loc | name_Loc LOC0001 | Indonesia LOC0002 | China LOC0003 | America My index.php
Irfandy Jip
  • 1,308
  • 1
  • 18
  • 36
0
votes
0 answers

Vue-select component select value programatically

Im using vuejs and vue-select component , and wonder how can I programatically tell him to select an array in the options ?
Pc Monk
  • 75
  • 2
  • 4
  • 24
0
votes
2 answers

How to bypass a plugin prevent default on parent element

I'm using the vue-select plugin and dynamically attached
  • element to the options. However, when ever I clicked on my new
  • element, the dropdown close itself. My desire results, when my
  • element is clicked, the dropdown menu stay open. I…
  • mana
    • 1,075
    • 1
    • 24
    • 43
    0
    votes
    1 answer

    Can't access to data from my method

    I've been trying to access my "selected" data from my method "itemChange" without any luck at all. The error I got is "this.selected is undefined" My question is how can I access from my method to my component data? My component…
    mana
    • 1,075
    • 1
    • 24
    • 43
    0
    votes
    1 answer

    How to add attribute a value to my Combobox using vue Js?

    My plugin (vue-select@latest) I can successfully get data from the object cities but how do I add a value , for example enter image description here I'm new to Vue js , I want to use…
    frontend33
    • 61
    • 1
    • 2
    0
    votes
    0 answers

    cannot insert data into vue select sent from laravel

    This is the vuejs component for editing song info. the problem here is with tags.I cannot show the tags of the song in vue select for editing.