🐛 [Android][TextInput] combine secureTextEntry + autoComplete props #36593
Labels
Component: TextInput
Related to the TextInput component.
Needs: Triage 🔍
Newer Patch Available
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
In Android, when TextInput's secureTexEntry={false} props is combined with autoComplete={'off'} props the keyboard suggestion is showing.
Expected:
As we are passing autoComplete={'off'}, even if secureTexEntry={false} should not show the keyboard suggestion, just password should unmask.###
React Native Version
0.71.4
Output of
npx react-native info
warn Package @sentry/react-native contains invalid configuration: "dependency.platforms.ios.sharedLibraries" is not allowed,"dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
info Fetching system and libraries information...
System:
OS: macOS 13.1
CPU: (8) arm64 Apple M1 Pro
Memory: 112.63 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.19.2 - /opt/homebrew/bin/npm
Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 28, 29, 30, 31, 32, 33
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 32.0.0
System Images: android-25 | Google APIs ARM 64 v8a, android-28 | Google APIs ARM 64 v8a, android-29 | Google APIs ARM 64 v8a, android-29 | Google Play ARM 64 v8a, android-30 | Google APIs ARM 64 v8a, android-31 | Google APIs ARM 64 v8a, android-32 | Google APIs ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.13 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.4 => 0.71.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Create TextInput component with autoComplete={'off'} secureTextEntry={true}
Create TextInput component with autoComplete={'off'} secureTextEntry={false}
Expected Results
Actual Results
Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/@endometriose/secure-text-input-suggestion?platform=android
The text was updated successfully, but these errors were encountered: