Disable autocorrect in search input

This commit is contained in:
Mateusz Biały 2020-06-06 15:46:42 +02:00
parent 8305af8f10
commit ed7e72a0de

View File

@ -36,7 +36,7 @@
<div class="pure-u-1 pure-u-md-12-24 searchbar">
<form class="pure-form" action="/search" method="get">
<fieldset>
<input type="search" style="width:100%" name="q" placeholder="<%= translate(locale, "search") %>" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
<input type="search" style="width:100%" name="q" placeholder="<%= translate(locale, "search") %>" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>" autocomplete="off" spellcheck="false" autocorrect="off">
</fieldset>
</form>
</div>