Skip to content

Commit

Permalink
dont show browser autocomplete for query input
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Jul 8, 2020
1 parent 5a5395a commit ff87305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Search.elm
Expand Up @@ -39,6 +39,7 @@ import Html
import Html.Attributes
exposing
( attribute
, autocomplete
, autofocus
, class
, classList
Expand Down Expand Up @@ -725,6 +726,7 @@ view path title model viewSuccess outMsg =
[ input
([ type_ "text"
, id "search-query-input"
, autocomplete True
, autofocus True
, onInput (\x -> outMsg (QueryInput x))
, value <| Maybe.withDefault "" model.query
Expand Down

0 comments on commit ff87305

Please sign in to comment.