Disable all types of autocorrect, -complete, -capitalize, etc on Spotlight's search field (#9259)

t3chguy/dedup-icons-17oct
Janne Mareike Koschinski 2022-09-08 09:44:45 +02:00 committed by GitHub
parent c76cc9aee1
commit 851606c7ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1221,6 +1221,9 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
autoFocus
type="text"
autoComplete="off"
autoCapitalize="off"
autoCorrect="off"
spellCheck="false"
placeholder={_t("Search")}
value={query}
onChange={setQuery}