Press "Enter" to skip to content

Searchable Multi-Select Dual Listbox Plugin For Vue

Vue multiselect double Listbox is a customizable and searchable dual list box component to improve the multi-select experience on the application. A multi-select widget where users can select options from a list on the left side to a list on the right.

dual list box with search, bootstrap dual listbox, dual list box material design, jquery dual listbox, bs dual listbox get selected value, dual list box javascript

How to make use of it:

1. Import the multi-select double list box.

import Vue from 'vue'
import MultiselectListbox from 'vue-multiselect-listbox'
import 'vue-multiselect-listbox/dist/vue-multi-select-listbox.css';

2. Register the component.

Vue.component('v-multiselect-listbox', vMultiselectListbox)

3. Add the component to the template and specify the options in a JS array or an array of elements.

<v-multiselect-listbox 
  :options="['Option 1', 'Option 2']">
</v-multiselect-listbox>

// or

<v-multiselect-listbox 
  :options="[{label: 'Option 1', language: 'js'}, {label: 'Option 2', language: 'css'}]"
  :reduce-display-property="(option) => option.label"
  :reduce-value-property="(option) => option.language"
</v-multiselect-listbox>

4. All possible props.

value: {
  type: Array,
  default() {
    return [];
  },
},
options: {
  type: Array,
  default() {
    return [];
  },
},
searchOptionsPlaceholder: {
  type: String,
  default() {
    return 'Search';
  },
},
selectedOptionsPlaceholder: {
  type: String,
  default() {
    return 'Search';
  },
},
reduceDisplayProperty: {
  type: Function,
  default: (value) => value,
},
reduceValueProperty: {
  type: Function,
  default: (value) => value,
},
noOptionsText: {
  type: String,
  default: '',
},
selectedNoOptionsText: {
  type: String,
  default: 'Select',
},
noOptionsFoundText: {
  type: String,
  default: 'No options found',
},
noSelectedOptionsFoundText: {
  type: String,
  default: 'No options found',
},
showSelectAllButtons: {
  type: Boolean,
  default: true,
},
searchInputClass: {
  type: String,
  default: '',
}

dual list box javascript

Searchable Multi-Select Dual List Box, vue multiselect dual listbox Plugin/Github, html dual listbox


See Demo And Download

Official Website(abhimediratta): Click Here

This superior jQuery/javascript plugin is developed by abhimediratta. For extra Advanced Usages, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *