dont show browser autocomplete for query input (#116)

This commit is contained in:
Rok Garbas 2020-07-08 16:19:08 +02:00 committed by GitHub
parent 5a5395a19b
commit af66eef748
Failed to generate hash of commit

View file

@ -39,6 +39,7 @@ import Html
import Html.Attributes
exposing
( attribute
, autocomplete
, autofocus
, class
, classList
@ -725,6 +726,7 @@ view path title model viewSuccess outMsg =
[ input
([ type_ "text"
, id "search-query-input"
, autocomplete False
, autofocus True
, onInput (\x -> outMsg (QueryInput x))
, value <| Maybe.withDefault "" model.query