Audrey
Audrey

Reputation: 449

Disable yellow box in password input react native

I have a form including multiple inputs and multiple types in my react native app. two of them are passwords. in simulator when i'm filling the inputs after I click the password input it change to yellow and disable itself. notice that sometimes it doesn't happen its react native expo app and input come from react-native-element

Upvotes: 0

Views: 1288

Answers (2)

Bisma Azher
Bisma Azher

Reputation: 749

use secureTextEntry={true}inside input tag

Upvotes: 1

Nooruddin Lakhani
Nooruddin Lakhani

Reputation: 6967

Try this

secureTextEntry={true}
textContentType="oneTimeCode"

Check out this ref Link-1 and Github-issue

Upvotes: 2

Related Questions