Skip to content

Commit 964a447

Browse files
committed
disable autocompletion for the mobile search field
Right now, the textfield tells the keyboard (e.g. on mobile Safari) to provide autocompletion. Most keyboards/phones don't know words/ terms like "https" or "zlib" which causes an autocorrect for these words. This commit disables the autocompletion for the mobile search textfield.
1 parent 1d59c8a commit 964a447

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/templates/application.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
{{input type="text" class="search" name="q"
7575
placeholder="Search"
7676
value=search
77+
autocorrect="off"
7778
tabindex="1"}}
7879
</form>
7980

0 commit comments

Comments
 (0)