dont show browser autocomplete for query input (#116)
This commit is contained in:
parent
5a5395a19b
commit
af66eef748
|
@ -39,6 +39,7 @@ import Html
|
||||||
import Html.Attributes
|
import Html.Attributes
|
||||||
exposing
|
exposing
|
||||||
( attribute
|
( attribute
|
||||||
|
, autocomplete
|
||||||
, autofocus
|
, autofocus
|
||||||
, class
|
, class
|
||||||
, classList
|
, classList
|
||||||
|
@ -725,6 +726,7 @@ view path title model viewSuccess outMsg =
|
||||||
[ input
|
[ input
|
||||||
([ type_ "text"
|
([ type_ "text"
|
||||||
, id "search-query-input"
|
, id "search-query-input"
|
||||||
|
, autocomplete False
|
||||||
, autofocus True
|
, autofocus True
|
||||||
, onInput (\x -> outMsg (QueryInput x))
|
, onInput (\x -> outMsg (QueryInput x))
|
||||||
, value <| Maybe.withDefault "" model.query
|
, value <| Maybe.withDefault "" model.query
|
||||||
|
|
Loading…
Reference in a new issue