diff options
author | Mary <148872143+mary-ext@users.noreply.github.com> | 2024-01-11 14:11:03 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 23:11:03 -0800 |
commit | ca7ec9eec0fe0f3fa5ed048b9097383227cde89a (patch) | |
tree | 938e00d2af3df0deb8542edc185a8c795ac43e65 /src | |
parent | 5cc46241d75ecbd462f1b69a42d6d923dadf6d28 (diff) | |
download | voidsky-ca7ec9eec0fe0f3fa5ed048b9097383227cde89a.tar.zst |
fix: don't set autocomplete on search input (#2482)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/Search/Search.tsx | 1 | ||||
-rw-r--r-- | src/view/shell/desktop/Search.tsx | 3 |
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}> |