JSFiddle - React, Tailwind, and code Playground

by AlexandrAbakumov

HTML

<p>To test if autocomplete="off" works:
  <ol>
    <li>Type something into the "First Name (WITHOUT autocomplete="off")" input</li>
    <li>Submit the form</li>
    <li>Re-run the fiddle</li>
    <li>Make sure browser does suggest the value for the "First Name (WITHOUT autocomplete="off")" input you've typed on the step #1</li>
    <li>Do steps #1 - #3 for the "First Name (WITH autocomplete="off")" input</li>
    <li>Make sure browser does NOT suggest the value you've typed for the "First Name (WITH autocomplete="off")" input</li>
  </ol>
</p>

<form action="http://httpbin.org/get">
  <label for="firstName1">First Name (WITHOUT autocomplete="off"):</label>
  <input id="firstName1" name="firstName1">

  <button type="submit">SUBMIT</button>

</form>

<form action="http://httpbin.org/get">
  <label for="firstName2">First Name (WITH autocomplete="off"):</label>
  <input id="firstName2" name="firstName2" autocomplete="off">

  <button type="submit">SUBMIT</button>

</form>