title: Change input value with useRef
body: <p>I captured an element with the useRef hook of React.
  if I use console.log(this.inputRef) I get:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input aria-invalid="false" autocomplete="off" class="MuiInputBase-input-409 MuiInput-input-394" placeholder="Type ItemCode or scan barcode" type="text" value="2"&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Is there a way to change the value of that element using this.inputRef? and then force its re-render?</p>