summaryrefslogtreecommitdiff
path: root/elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-03-14 17:41:38 +0100
committerYorhel <git@yorhel.nl>2020-03-14 17:41:44 +0100
commit2e78ad2c3e8974f9347ccd82eba25801af5b86da (patch)
tree6f906fff0e8fa71235b457d0ca53998891f712e3 /elm
parent9e7670cf74347f2a9ef00c71410c60aeb46c4b71 (diff)
Lib.Autocomplete: Disable browser-based autocompletion
https://vndb.org/t950.697
Diffstat (limited to 'elm')
-rw-r--r--elm/Lib/Autocomplete.elm3
1 files changed, 2 insertions, 1 deletions
diff --git a/elm/Lib/Autocomplete.elm b/elm/Lib/Autocomplete.elm
index 0dd0e9fc..5cda67eb 100644
--- a/elm/Lib/Autocomplete.elm
+++ b/elm/Lib/Autocomplete.elm
@@ -239,7 +239,8 @@ view cfg model attrs =
let
input =
inputText cfg.id model.value (cfg.wrap << Input) <|
- [ onFocus <| cfg.wrap Focus
+ [ autocomplete False
+ , onFocus <| cfg.wrap Focus
, onBlur <| cfg.wrap Blur
, style "width" "270px"
, custom "keydown" <| JD.map (\c ->