title: React Hook Form and setValue of file input
body: <p>I'm facing issue with setting the value of file input with multiple files choice.</p>
  <p>In a form i have two file input fields, one allows user to select only one file, and the second allow multiple files.
  So while applying setValue to the singular file input, it works fine and file goes to state, but at the same time, while i trying to setValue for the multiple files input, i get the following error <strong>&quot;Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.&quot;</strong></p>
  <pre><code> const handleSingle = (file, uploadedData) =&gt; {
     setValue(&quot;single&quot;, file);
     };
  
     const handleMultiple = (files, data) =&gt; {
     setValue('multiple', [...files]);
    };
  </code></pre>
  <p>Of course, the &quot;multiple&quot; field in the form should be an array of file objects, but i can't figure out what is the issue.</p>