From 2e78ad2c3e8974f9347ccd82eba25801af5b86da Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sat, 14 Mar 2020 17:41:38 +0100 Subject: Lib.Autocomplete: Disable browser-based autocompletion https://vndb.org/t950.697 --- elm/Lib/Autocomplete.elm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elm/Lib') 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 -> -- cgit v1.2.3