Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Disable auto complete, capitalize, and correct

  • Loading branch information...
commit 537239f29de545ab13a95a1bcb31bdb9845552ce 1 parent 3a082c0
@dlidstrom authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 Words.Web/Views/Home/Index.cshtml
View
12 Words.Web/Views/Home/Index.cshtml
@@ -8,7 +8,17 @@
<div class="span8">
@using (Html.BeginForm("Index", "Home", FormMethod.Get, new { @class = "well form-search" }))
{
- @Html.TextBox("q", null, new { @class = "input-large", placeholder = "Ange sökterm" })
+ @Html.TextBox(
+ "q",
+ null,
+ new
+ {
+ @class = "input-large",
+ placeholder = "Ange sökterm",
+ autocorrect = "off",
+ autocapitalize = "off",
+ autocomplete = "off"
+ })
<button type="submit" class="btn btn-primary">
<i class="icon-search icon-white"></i>
Sök
Please sign in to comment.
Something went wrong with that request. Please try again.