title: How to upload file with redux-form?
body: <p>I can't get correct value into the store when trying to upload a file. Instead of file content, I get something like <code>{ 0: {} }</code>.
  Here's the code:</p>
  
  <pre><code>const renderInput = field =&gt; (
    &lt;div&gt;
      &lt;input {...field.input} type={field.type}/&gt;
      {
        field.meta.touched &amp;&amp;
        field.meta.error &amp;&amp;
        &lt;span className={styles.error}&gt;{field.meta.error}&lt;/span&gt;
      }
    &lt;/div&gt;
  );
  
  render() {
  
    ...
  
    &lt;form className={styles.form} onSubmit={handleSubmit(submit)}&gt;
      &lt;div className={styles.interface}&gt;
        &lt;label&gt;userpic&lt;/label&gt;
        &lt;Field
          name="userpic"
          component={renderInput}
          type="file"
        /&gt;
      &lt;/div&gt;
      &lt;div&gt;
        &lt;button type="submit" disabled={submitting}&gt;Submit&lt;/button&gt;
      &lt;div&gt;
    &lt;/form&gt;
  
    ...
  
  }
  </code></pre>
  
  <p>All the examples on the web that I found were made using v5 of redux-form.</p>
  
  <p>How do I do file input in redux-form v6?</p>