title: setFieldValue, Formik and InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement'
body: <p>I'm trying to upload a file using Formik and setFieldValue.</p>
  <p>I don't understand why i'm getting</p>
  <blockquote>
  <p>InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element &gt; accepts a filename, which may only be programmatically set to the empty string.</p>
  </blockquote>
  <p>When i'm uploading a file</p>
  <p>I have some knowledge of React, but it's my first time with Formik.</p>
  <p>Some (maybe useful) code</p>
  <pre><code>export const ImageUploaderField = ({ ...props }) =&gt; {
      const { setFieldValue } = useFormikContext()
      const [field] = useField(props)
      return (
          &lt;Field
              {...field}
              {...props}
              onChange={(event) =&gt; {
                  setFieldValue(field.name, event.currentTarget.files)
              }}
          /&gt;
      )
  }
  </code></pre>
  <p>Call site</p>
  <pre><code>&lt;ImageUploaderField name=&quot;filename&quot; type=&quot;file&quot; /&gt;
  
  </code></pre>