title: How to set a default value in vue- multiselect if i only have a property of options?
body: <p>I have an option array which is shown in the multi-select options. But I need to select a default option which id is provided. In my code I need to select the default option which id = 2 . How to do that with multi-select in vue.js?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://unpkg.com/vue"&gt;&lt;/script&gt;
  &lt;script src="https://unpkg.com/vue-multiselect@2.1.0"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="https://unpkg.com/vue-multiselect@2.1.0/dist/vue-multiselect.min.css"&gt;
  
  &lt;div id="vue-app2"&gt;
      &lt;div&gt;
          &lt;label class="typo__label"&gt;Single select / dropdown&lt;/label&gt;
          &lt;multiselect v-model="value" deselect-label="Can't remove this value" track-by="id" label="name"
              placeholder="Select one" :options="options" :searchable="false" :allow-empty="false"&gt;
              &lt;template slot="singleLabel" slot-scope="{ option }"&gt;&lt;strong&gt;{{ option.name }}&lt;/strong&gt; is written
                  in&lt;strong&gt; {{ option.language }}&lt;/strong&gt;&lt;/template&gt;
          &lt;/multiselect&gt;
          &lt;pre class="language-json"&gt;&lt;code&gt;{{ value  }}&lt;/code&gt;&lt;/pre&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;script &gt;
  Vue.component('multiselect', window.VueMultiselect.default);
  
  new Vue({
      el: '#vue-app2',
      data: {
          id:2,
          value:null,
          options: [
              { id:1, name: 'Vue.js', language: 'JavaScript' },
              { id:2, name: 'Rails', language: 'Ruby' },
              { id:3,name: 'Sinatra', language: 'Ruby' },
              { id:4,name: 'Laravel', language: 'PHP', $isDisabled: true },
              { id:5,name: 'Phoenix', language: 'Elixir' }
            ]
      }
  });
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>