Skip to content

Instantly share code, notes, and snippets.

@pronayguha13
Created May 24, 2021 00:17
Show Gist options
  • Save pronayguha13/420126ca98e63db24287e5c45b20cd19 to your computer and use it in GitHub Desktop.
Save pronayguha13/420126ca98e63db24287e5c45b20cd19 to your computer and use it in GitHub Desktop.
Autocomplete working with unique string as autocomplete attribute vale
<form autocomplete="off" id="input-area">
<div class="input-section">
<label for="name">Name</label>
<input
type="text"
id="userNameInput"
placeholder="Enter your name"
required
autocomplete="unInput"
/>
</div>
<div class="input-section">
<label for="email">Email</label>
<input
type="email"
id="userMailInput"
placeholder="Enter you email-id"
required
autocomplete="sdjkffsffsd1111"
/>
</div>
<div class="input-section">
<label for="Password">Pasword</label>
<input
type="password"
id="pwdInput"
placeholder="Enter password..."
required
autocomplete="new-password"
/>
<div class="input-section">
<label for="address">Address</label>
<input
type="text"
id="usrAddrInput"
placeholder="Enter house/flat/apartment"
autocomplete="usrAddrInput"
/>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment