1.9.6 • Published 3 years ago

vue-multiselect-cmp v1.9.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Multiselect component for Vue 2

A multiselect component with support for Vue 2

Install & basic usage

img.png

$ npm install vue-multiselect-component
<template>
  <VueMultiselectComponent v-model="selected" :options="options" />
</template>

<script>
import VueMultiselectComponent from 'vue-multiselect-component'

export default {
  components: {
    VueMultiselectComponent
  },
  data() {
    return {
      selected: [],
      options: [
        { id: 'ru', label: 'Russia' },
        { id: 'nl', label: 'Netherlands' },
        { id: 'fr', label: 'France' }
      ]
    }
  }
}
</script>

Props

PropsDescriptionRequiredTypeDefault
value (v-model)Selected itemstrueArray-
optionsList of all itemstrueArray-
writableThe ability to write in the input fieldfalseBooleantrue
searchableStandard element search (only for writable = true)falseBooleantrue
placeholderInput placeholderfalseString-
loadingOptions list standby modefalseBooleanfalse
limitLimit the number of visible items when the options list is closedfalseNumber10
label-textThe name of the field in the options array, which should be in the labelfalseStringlabel
placeholder-as-labelMake a placeholder as a label that will be displayed at the top of the input fieldfalseBooleanfalse
disabledDisable the inputtrueBooleanfalse

*will be complemented

Events

EventDescriptionAttributes
search-changeCalled whenever the search field has changed(search-query)
inputCalled whenever the value changes passing the new value(value-list)
selectedCalled whenever an element is selected(id)
removedCalled whenever an element is removed(id)
openCalled whenever the list is opened-
closeCalled whenever the list is closed-

*will be complemented

1.9.6

3 years ago

1.9.5

3 years ago

1.9.4

3 years ago

1.9.3

3 years ago

1.9.2

3 years ago

1.9.1

3 years ago

1.9.0

3 years ago

1.8.9

3 years ago

1.8.8

3 years ago

1.8.7

3 years ago

1.8.6

3 years ago

1.8.5

3 years ago

1.8.4

3 years ago

1.8.3

3 years ago

1.8.2

3 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.7.9

3 years ago

1.7.8

3 years ago

1.7.7

3 years ago

1.7.6

3 years ago

1.7.5

3 years ago

1.7.4

3 years ago

1.7.3

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.9

3 years ago

1.6.8

3 years ago

1.6.7

3 years ago

1.6.6

3 years ago

1.6.5

3 years ago

1.6.4

3 years ago

1.6.3

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.9

3 years ago

1.5.8

3 years ago

1.5.7

3 years ago

1.5.6

3 years ago

1.5.5

3 years ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.4.9

3 years ago

1.4.7

4 years ago

1.4.6

4 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.0.1

4 years ago