Skip to content

Commit

Permalink
Merge pull request #428 from HolgerJeromin/patch-1
Browse files Browse the repository at this point in the history
disable autocapitalize on search input
  • Loading branch information
joto committed Feb 21, 2024
2 parents 862d539 + 9001675 commit 2bc1f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/views/layout.erb
Expand Up @@ -35,7 +35,7 @@
</form>
<% unless @nosearch %>
<form id="search_form" action="<%= build_link('/search') %>">
<input type="text" id="search" name="q" value="<%= h(params[:q]) %>" autocomplete="off"/>
<input type="text" id="search" name="q" value="<%= h(params[:q]) %>" autocomplete="off" autocapitalize="off"/>
<div id="suggestions"></div>
</form>
<% end %>
Expand Down

0 comments on commit 2bc1f04

Please sign in to comment.