0

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

Audrey
  • 401
  • 2
  • 7
  • 15

2 Answers2

2

Try this

secureTextEntry={true}
textContentType="oneTimeCode"

Check out this ref Link-1 and Github-issue

Nooruddin Lakhani
  • 7,507
  • 2
  • 19
  • 39
1

use secureTextEntry={true}inside input tag

Bisma Azher
  • 689
  • 8
  • 9
  • Hello and welcome to SO! While this code may answer the question, providing additional context regarding how and/or why it solves the problem would improve the answer's long-term value. Please read the [tour](https://stackoverflow.com/tour), and [How do I write a good answer?](https://stackoverflow.com/help/how-to-answer) Please note that this is already mentioned by another answer. If you have nothing to elaborate please consider deleting this answer. – Tomer Shetah Jan 09 '21 at 19:42