about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMary <148872143+mary-ext@users.noreply.github.com>2024-01-11 14:11:03 +0700
committerGitHub <noreply@github.com>2024-01-10 23:11:03 -0800
commitca7ec9eec0fe0f3fa5ed048b9097383227cde89a (patch)
tree938e00d2af3df0deb8542edc185a8c795ac43e65
parent5cc46241d75ecbd462f1b69a42d6d923dadf6d28 (diff)
downloadvoidsky-ca7ec9eec0fe0f3fa5ed048b9097383227cde89a.tar.zst
fix: don't set autocomplete on search input (#2482)
-rw-r--r--src/view/screens/Search/Search.tsx1
-rw-r--r--src/view/shell/desktop/Search.tsx3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx
index 33356662a..8e7e204ad 100644
--- a/src/view/screens/Search/Search.tsx
+++ b/src/view/screens/Search/Search.tsx
@@ -572,6 +572,7 @@ export function SearchScreen(
             accessibilityLabel={_(msg`Search`)}
             accessibilityHint=""
             autoCorrect={false}
+            autoComplete="off"
             autoCapitalize="none"
           />
           {query ? (
diff --git a/src/view/shell/desktop/Search.tsx b/src/view/shell/desktop/Search.tsx
index f2a3de424..df49da55b 100644
--- a/src/view/shell/desktop/Search.tsx
+++ b/src/view/shell/desktop/Search.tsx
@@ -169,6 +169,9 @@ export function DesktopSearch() {
             accessibilityRole="search"
             accessibilityLabel={_(msg`Search`)}
             accessibilityHint=""
+            autoCorrect={false}
+            autoComplete="off"
+            autoCapitalize="none"
           />
           {query ? (
             <View style={styles.cancelBtn}>