-
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
SecureTextEntry prop is not working in android with all the keyboard types. #30148
Comments
it looks like 0.63.3 re-introduced a number of issues around secureTextEntry that were resolved years ago. |
hey @timomeara, i was going through the change log of react native https://github.com/react-native-community/releases/blob/master/CHANGELOG.md#v0633, i don't see anything related to secureTextEntry prop not working in android or anything similar to this issue. |
there are quite a few issues around the secureTextEntry prop, keyboard types and font styles the title of this issue appears to be a documented known issue regardless, the history of TextInput and secureTextEntry is long and sordid |
It won't work even if i use keyboard types other than keyboardType="email-address" or keyboardType="phone-pad" |
"it won't work..." |
upgrade to 61.0 version |
I was having this problem too. Tried to reproduce on a Snack, but it seems to be working there. So I tried to stop using my customized Maybe it has something to do with Btw, my
|
use |
secureTextEntry works if you set autoCapitalize={'none'}. |
This works for me. But how can you come up with this fix... |
Nothing works for me yet! Someone have another solution for this problem? |
This worked on my code! |
I have a sign-up screen with a TextInput for password, and another to confirm the password. They have identical properties. The first TextInput hides the text as expected. The second does not. I have tried a lot of suggestions from this issue, and various StackOverflow issues. None have worked so far. Only fails on Android (works as expected on iOS). Testing on physical device. |
For me I don't quite understand the difference between the Android only |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Still not working for me. |
This works also for me thank you. |
Issue: Toggling secureTextEntry prop works fine in iOS not in Android, in android for the password text field the initial value for secureTextEntry is set to true, it toggles the first time, but i don't see it toggled next time, this issue is seen in real device, it works fine in Android Emulator though, anyone still facing the same issue?
RN Version: 0.59.10
Originally posted by @pedreviljoen in https://github.com/facebook/react-native/issue_comments/403732197
The text was updated successfully, but these errors were encountered: