From 851606c7ed13a03db1a913b2ee1a5d154c96a05a Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski Date: Thu, 8 Sep 2022 09:44:45 +0200 Subject: [PATCH] Disable all types of autocorrect, -complete, -capitalize, etc on Spotlight's search field (#9259) --- src/components/views/dialogs/spotlight/SpotlightDialog.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/views/dialogs/spotlight/SpotlightDialog.tsx b/src/components/views/dialogs/spotlight/SpotlightDialog.tsx index 95d945aa2e..85f4e6ed50 100644 --- a/src/components/views/dialogs/spotlight/SpotlightDialog.tsx +++ b/src/components/views/dialogs/spotlight/SpotlightDialog.tsx @@ -1221,6 +1221,9 @@ const SpotlightDialog: React.FC = ({ initialText = "", initialFilter = n autoFocus type="text" autoComplete="off" + autoCapitalize="off" + autoCorrect="off" + spellCheck="false" placeholder={_t("Search")} value={query} onChange={setQuery}