title: Buefy datepicker with Laravel: Expected Date, got String
body: <p>I have a form that is populated by data received from an API request to my backend.</p>
  
  <p>I am using v-model to bind the data to the fields (for example):</p>
  
  <pre><code>&lt;input type="text" v-model="fields.name"&gt;
  </code></pre>
  
  <p>Everything works just fine. But when it comes to <strong>Buefy datepicker</strong> I get the following warning:</p>
  
  <blockquote>
    <p>Invalid prop: type check failed for prop "value". Expected Date, got String.</p>
  </blockquote>
  
  <p>This is correct since this is the value I get back from Laravel is "2019-02-01 00:00:00". I am trying to parse this String to a Date using the Buefy property <strong>date-parser</strong> but with no luck:</p>
  
  <pre><code>&lt;b-datepicker
       :date-parser="(date) =&gt; new Date(Date.parse(date))"
       v-model="fields.budget_date"
       :first-day-of-week="1"
       placeholder="DD/MM/YYYY"
       name="order_date"
       editable&gt;
  &lt;/b-datepicker&gt;
  </code></pre>
  
  <h1>Update:</h1>
  
  <p>This is the data object:</p>
  
  <pre><code>data() {
    return {
      csrf: document.querySelector('meta[name="csrf-token"]').content,
      fields: {},
      errors: {},
      success: false,
      loaded: true,
      loading: false,
  }
  </code></pre>
  
  <p>Then I use <strong>Axios.get</strong> to fetch the data from the server and assign them to the fields object like so:</p>
  
  <pre><code>this.fields = response.data;
  </code></pre>
  
  <p>This is how is see the fields.budget_date in Vue DevTools:</p>
  
  <p><a href="https://i.stack.imgur.com/9hWHA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9hWHA.png" alt="enter image description here"></a></p>
  
  <p>Any idea how to overcome this? Thank you in advance.</p>