fix: don't set autocomplete on search input (#2482)

zio/stable
Mary 2024-01-11 14:11:03 +07:00 committed by GitHub
parent 5cc46241d7
commit ca7ec9eec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -572,6 +572,7 @@ export function SearchScreen(
accessibilityLabel={_(msg`Search`)}
accessibilityHint=""
autoCorrect={false}
autoComplete="off"
autoCapitalize="none"
/>
{query ? (

View File

@ -169,6 +169,9 @@ export function DesktopSearch() {
accessibilityRole="search"
accessibilityLabel={_(msg`Search`)}
accessibilityHint=""
autoCorrect={false}
autoComplete="off"
autoCapitalize="none"
/>
{query ? (
<View style={styles.cancelBtn}>