Created
June 4, 2020 14:11
-
-
Save alpenzoo/44ec2b3c06be9a0f28b3b88650e0175f to your computer and use it in GitHub Desktop.
Major browsers and password managers ignore autocomplete=off and do not adhere to the standards. This is an workaround. At the moment it works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form class="form-horizontal frm--ver-cnp" id="frmConfirmEmail"> | |
<input autocomplete="false" name="hidden" type="text" style="display:none;"> | |
<div id="frmErrorMsg" class="alert alert-danger text-left collapse" role="alert" style="display: none;"><span></span></div> | |
<div class="form-group row"> | |
<div class="col-sm-12"> | |
<input type="text" class="passInput" name="inputpin[]" maxlength="1" size="1" autocomplete="new-password" min="0" max="9" required="" pattern="\d{1}" autofocus=""> | |
<input type="text" class="passInput" name="inputpin[]" maxlength="1" size="1" autocomplete="new-password" min="0" max="9" required="" pattern="\d{1}"> | |
<input type="text" class="passInput" name="inputpin[]" maxlength="1" size="1" autocomplete="new-password" min="0" max="9" required="" pattern="\d{1}"> | |
<input type="text" class="passInput" name="inputpin[]" maxlength="1" size="1" autocomplete="new-password" min="0" max="9" required="" pattern="\d{1}"> | |
<input type="text" class="passInput" name="inputpin[]" maxlength="1" size="1" autocomplete="new-password" min="0" max="9" required="" pattern="\d{1}"> | |
</div> | |
</div> | |
<div class="form-group row"> | |
<div class="col-sm-12"> | |
<button type="submit" class="btn btn-primary">Confirm</button> | |
</div> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment