<template>
   <VueMultiselect
      name="selectLama"
      id="selectLama"
      :options="lamas"
      v-model="lama">
   </VueMultiselect>
   <input
      type="checkbox"
      id="checked"
      v-model="checked"
   /> test
   <h3>{{ checked }} {{ lama }}</h3>
</template>

<script>
import VueMultiselect from 'vue-multiselect'
export default {
   name: "test",
   components: {
      VueMultiselect
   },
   data() {
      return {
         checked: false,
         lamas: ['pomme', 'poire', 'banane'],
         lama: null
      }
   },
   computed: {
      checked: {
         set(value) {
            this.checked = value
         },
         get() {
            return this.checked
         }
      },
      lama: {
         get() {
            return this.lama
         },
         set(value) {
            this.lama = value
         }
      }
   }
}
</script>
