Search code examples
htmlautosuggest

Preventing Browser Text Input Suggestions 2021 chrome version 88.0.4324.190


How To Preventing Browser Text Input Suggestions from browser cookie, autocomplete="off" and others are not work.. Chrome Version : 2021 chrome version 88.0.4324.190

readonly is work for autofill its work proper, but autosuggestion is not.

 <input type="email" class="form-control" id="email" name="email" placeholder="Enter Email" readonly onfocus="this.removeAttribute('readonly');" style="background-color: white;" autocomplete="off">   
<input type="password" class="form-control" id="Password" name="password" minlength="6" placeholder="Enter Password">

enter image description here


Solution

  • what you want is here

    change type="password" to type="text" and used in your input -webkit-text-security: disc !important;

    <input type="text" class="form-control" id="Password" name="password" minlength="6" placeholder="Enter Password" style="-webkit-text-security: disc !important;">