title: VueJS Checkbox Model Array of Ints
body: <p>I have an issue with VueJS 1.0, and this behavior works in VueJS 2.0. In VueJS 1.0 if I have a list of integers and have a checkbox v-model bound to it, the list of integers will not map as a checked attribute.</p>
  
  <p>Here is the HTML</p>
  
  <pre><code>&lt;div id="app"&gt;
    &lt;div class="col-sm-offset-3 col-sm-4 clearfix text-center"&gt;
      &lt;h4&gt;On Each Day of The Week&lt;/h4&gt;
      &lt;label class="checkbox-inline"&gt;
        &lt;input type="checkbox" id="inlineCheckbox1" v-model="schedules[0].by_days" value="1"&gt; M
      &lt;/label&gt;
      &lt;label class="checkbox-inline"&gt;
        &lt;input type="checkbox" id="inlineCheckbox2" v-model="schedules[0].by_days" value="2"&gt; Tu
      &lt;/label&gt;
      &lt;label class="checkbox-inline"&gt;
        &lt;input type="checkbox" id="inlineCheckbox3" v-model="schedules[0].by_days" value="3"&gt; W
      &lt;/label&gt;
      &lt;label class="checkbox-inline"&gt;
        &lt;input type="checkbox" id="inlineCheckbox4" v-model="schedules[0].by_days" value="4"&gt; Th
      &lt;/label&gt;
      &lt;label class="checkbox-inline"&gt;
        &lt;input type="checkbox" id="inlineCheckbox5" v-model="schedules[0].by_days" value="5"&gt; F
      &lt;/label&gt;
      &lt;label class="checkbox-inline"&gt;
        &lt;input type="checkbox" id="inlineCheckbox6" v-model="schedules[0].by_days" value="6"&gt; Sa
      &lt;/label&gt;
      &lt;label class="checkbox-inline"&gt;
        &lt;input type="checkbox" id="inlineCheckbox7" v-model="schedules[0].by_days" value="7"&gt; Su
      &lt;/label&gt;
      &lt;div class="clearfix"&gt;&lt;/div&gt;
    &lt;/div&gt;
    By Days: {{ schedules[0].by_days.join(', ') }}
  &lt;/div&gt;
  </code></pre>
  
  <p>Then here is the JavaScript:</p>
  
  <pre><code>new Vue({
      el: '#app',
      data: {
          schedules: [
              {
              'by_days': ["1", 2, 3]
            }
          ]
      }
  })
  </code></pre>
  
  <p>The output will have "1" correctly checkboxed, but 2 &amp; 3 are integers and will not show as checked. In VueJS 2.0 this works, but not VueJS 1.0.</p>
  
  <p>A full JSFiddle is available here: <a href="https://jsfiddle.net/qf5gqsg6/" rel="nofollow">https://jsfiddle.net/qf5gqsg6/</a></p>