title: Vue datepicker and submitting selected date
body: <p>I'm using the <a href="https://www.npmjs.com/package/vue-date-picker" rel="nofollow noreferrer"><code>vue-date-picker</code></a> package in my laravel application, and upon selecting a date from the datepicker I can see in my vue developer tools <code>pickedValue</code> with the selected date. Currently my code is plain:</p>
  
  <pre><code>&lt;datepicker&gt;&lt;/datepicker&gt;
  </code></pre>
  
  <p>But I'm wondering, is the <code>pickedValue</code> the correct syntax to use for submitting this in a form? Do I need an <code>onChange</code> event, or can I just use <code>datepicker.pickedValue</code> or something similar? I just want to set the picked date to a variable for an axios post.</p>
  
  <p>UPDATE:</p>
  
  <pre><code>&lt;div v-cloak v-if="isScheduledTask"&gt;
    &lt;datepicker v-model="pickedValue" name="pickedValue" id="pickedValue" &gt;&lt;/datepicker&gt;
  &lt;/div&gt;
  
  data() {
    return{
      pickedValue:'',
    }
  }
  </code></pre>