'Why cannot autocomplete = "nope" not be used more than 3x in a Html.BeginForm?
I'm having an issue where if I have more than 2 of these @autocomplete = "nope" added the autofill still works in the chrome browser. If I just have two of them it still works. Does anyone know why this might be possible?
<div class="row">
<div class="col-md-4">
@Html.TextBox("txtEmailAddress", (string)ViewBag.EmailAddress ?? "", new { @class = "form-control", @type = "email", @minlength = "3", @autocomplete = "nope" })
</div>
<div class="col-md-4">
@Html.TextBox("txtLastName", (string)ViewBag.LastName ?? "", new { @class = "form-control", @minlength = "2", @type = "text", @autocomplete = "nope" })
</div>
<div class="col-md-4">
@Html.TextBox("txtLoanNumber", (string)ViewBag.LoanNumber ?? "", new { @class = "form-control", @minlength = "2", @type = "text", @autocomplete = "nope" })
</div>
</div>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
