I have a TextInput field that I want to use for password as such
<TextInput secureTextEntry="true"></TextInput>
but I keep getting this warning in the iOS emulator and also in the chrome debug tools
Failed propType: Invalid prop `secureTextEntry` of type `string` supplied to `TextInput`, expected `boolean`.
I am on "react-native": "^0.16.0"
Try this:
<TextInput secureTextEntry={ true }></TextInput>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With