Posts

Showing posts from February, 2021

Create MultiSelect Dropdown using vue-multiselect

If you are working with bootstrap vue you might be noticed that bootstrap-vue doesn't have a searchable multi-select drop down yet. There are a lot of other vue plugins that provide this feature. I found vue-multiselect as a better one. It supports searchable multi-select dropdown with Vuex. It also has multiple props that can be used to parse option data. Let us create a simple vue-multi-select dropdown . Step 1: Install vue/multiselect via npm           npm install vue-multiselect --save Step 2: Import multiselect component inside vue file where ever its is used              <template>              </template>              <script>               import Multiselect from "vue-multiselect";              export default {              name: "SearchManagedObjectsForm",              components:{                   Multiselect               },              data() {                }             } </script>