-
Notifications
You must be signed in to change notification settings - Fork 90
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 not working in Android #23
Comments
@AnchalMulchandani Hi, It's not really related to my package but to React-Native |
@dsznajder I want to secure the code in android also but its not working with "secureTextEntry". AnyIdea how to get inputs in dot formate(secured formate) instead of number formate? here is my way, I'm using <OtpInputs secureTextEntry={true} handleChange={code => this.confirmEnteredPin(code)} numberOfInputs={6} /> |
@dsznajder I got the solution Thanks! Its all about, "secureTextEntry" will not work with keyboardType={"email-address"} or keyboardType={"phone-pad"} and in package its by-default {"phone-pad"}, so it was not working.. I passed keyboardType={"numeric"} and it works :) Thanks |
where did you add prop |
Here is the way i have used-
i just overwrite its keyboardtype property, as bydefault it's value is 'phone-pad'. |
Thank you so much its perfect answer. |
I have added this component and working fine in iOS but in android "secureTextEntry" is not working.
Any idea how it will work?
The text was updated successfully, but these errors were encountered: