Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/frontend/Page/Docs.elm
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,9 @@ viewSidebar model =
[ placeholder "Search"
, value model.query
, onInput QueryChanged
, spellcheck False
, attribute "autocapitalize" "off"
, attribute "autocorrect" "off"
]
[]
, viewSidebarModules model
Expand Down
5 changes: 4 additions & 1 deletion src/frontend/Page/Search.elm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Page.Search exposing

import Elm.Version as V
import Html exposing (..)
import Html.Attributes exposing (autofocus, class, href, placeholder, style, value)
import Html.Attributes exposing (autofocus, class, href, placeholder, style, value, spellcheck, attribute)
import Html.Events exposing (..)
import Html.Lazy exposing (..)
import Html.Keyed as Keyed
Expand Down Expand Up @@ -117,6 +117,9 @@ viewSearch query entries =
, value query
, onInput QueryChanged
, autofocus True
, spellcheck False
, attribute "autocapitalize" "off"
, attribute "autocorrect" "off"
]
[]
, case entries of
Expand Down