v-model doesn't support input type="file" : <p>I can not use <code>v-model</code> with file input, Vue says I must use <code>v-on:change</code>. Ok so I can use <code>v-on:change</code>, but how can I bind the "content" of the input file to a <code>data</code> property?</p>

<p>Let's say I want to bind it in a component to <code>this.file</code>:</p>

<pre><code>export default {
  data() {
    file: null
  },
  // ...
}
</code></pre>

<p>Here is the HTML part:</p>

<pre><code>&lt;input id="image" v-on:change="???" type="file"&gt;
&lt;!--                           ^- don't know how to bind without v-model --&gt;
</code></pre>

<p>How should I do the binding?</p>
