diff --git a/src/Applications/UI/Alfred/View.elm b/src/Applications/UI/Alfred/View.elm index 77c0c998..495cd6d1 100644 --- a/src/Applications/UI/Alfred/View.elm +++ b/src/Applications/UI/Alfred/View.elm @@ -5,7 +5,7 @@ import Chunky exposing (..) import Color exposing (Color) import Conditional exposing (ifThenElse) import Html exposing (Html, text) -import Html.Attributes exposing (autofocus, id, placeholder, style, type_) +import Html.Attributes exposing (attribute, autofocus, id, placeholder, style, type_) import Html.Events exposing (onInput) import Html.Ext exposing (onTapPreventDefault) import Json.Decode @@ -83,6 +83,9 @@ view maybeInstance extractedBackdropColor = , onInput UI.GotAlfredInput , type_ "text" + -- + , attribute "spellcheck" "false" + -- , case instance.operation of Query -> diff --git a/src/Applications/UI/Sources/Form.elm b/src/Applications/UI/Sources/Form.elm index 6fb44433..0649179f 100644 --- a/src/Applications/UI/Sources/Form.elm +++ b/src/Applications/UI/Sources/Form.elm @@ -5,7 +5,7 @@ import Common exposing (boolFromString, boolToString) import Conditional exposing (..) import Dict.Ext as Dict import Html exposing (Html, text) -import Html.Attributes as A exposing (for, name, placeholder, required, selected, type_, value) +import Html.Attributes as A exposing (attribute, for, name, placeholder, required, selected, type_, value) import Html.Events exposing (onInput, onSubmit) import List.Extra as List import Material.Icons.Round as Icons @@ -404,6 +404,9 @@ renderProperty context property = , required (property.label |> String.toLower |> String.contains "optional" |> not) , type_ (ifThenElse property.password "password" "text") , value (Dict.fetch property.key "" context.data) + + -- + , attribute "spellcheck" "false" ] ] diff --git a/src/Applications/UI/Tracks/View.elm b/src/Applications/UI/Tracks/View.elm index 35e86191..d2d6d536 100644 --- a/src/Applications/UI/Tracks/View.elm +++ b/src/Applications/UI/Tracks/View.elm @@ -183,6 +183,7 @@ navigation { bgColor, favouritesOnly, grouping, isOnIndexPage, pressedShift, sce Html.input [ attribute "autocorrect" "off" , attribute "autocapitalize" "none" + , attribute "spellcheck" "false" , onInput (TracksMsg << SetSearchTerm) , placeholder "Search" , tabindex tabindex_