-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] TextInput secureTextEntry doesn't work if it have a keyboardType prop with values 'email-address' or 'phone-pad' #20606
Comments
omg that useful for me!! thank you very much! |
Hello thanks for sharing. But do you know why we can't paste from clipboard when the textinput is secure text? I tried your code on expo and the working one can't paste from clipboard while the one that didn't work can paste from clipboard. |
Hi, thank you for your answer. I have met the same problems. After resolving it, I think for the password input the keyboardType="default" is better than others in android. |
can confirm, setting keyboardType default seems to fix this :o |
wow thanks just saved me from 3 hrs of debugging |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
Environment:
OS: Linux 4.4
Node: 8.11.3
Yarn: 1.9.2
npm: 6.3.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-29.0.0.tar.gz => 0.55.4
Description
[Android Only]
If you have an
keyboardType
prop with values 'email-address' or 'phone-pad' in your TextInput thesecureTextEntry
doesn't work and the input shows its value as a normal input (not like an password input).Reproducible Demo
Snack full example: https://snack.expo.io/HkqrRfqS7
The text was updated successfully, but these errors were encountered: