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

This commit is contained in:
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

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}