Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable "Save Password" Dialog in React Native

I am using a TextInput with with the secureTextEntry flag to allow users to enter their password. When I run my tryLogin() function, iOS will ask if the user wants to "remember the password on the browser" (similar to how Safari does it), regardless if the password is correct or not.

Is there any way to disable that dialog box in React Native?

like image 270
Eric Bernard Avatar asked Nov 30 '25 21:11

Eric Bernard


1 Answers

I think you need to configure the textContentType here's the reference link: https://facebook.github.io/react-native/docs/textinput#textcontenttype

Hope this help :)

like image 175
Suc Avatar answered Dec 03 '25 14:12

Suc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!