DEV Community

cheapCoder
cheapCoder

Posted on

googe autofill form again when i add input tag dynamically

0

when the form has a password type input tag and there is an input tag that can enter text before, google chrome will automatically fill in the form.

like this:

<form onsubmit="addInput(event)"&gt
  <input type="text">
  <input type="password">
  <button type="submit">add input</button>
</form>

But i find that google chrome will fill the form…

Top comments (0)