Open savelichalex opened 8 years ago
As TextField passes along props to TextInput you can use all the available props from TextInput. In your case your would use the following prop: secureTextEntry
YES I used, and Its not working :-1:
Well It worked for me @AndroConsis by just putting secureTextEntry={true} like in the TextInput, but I didn't test for IOS...
Not working for me either version 2.0.4
Having the same issue are their any work arounds?
It works for me if I use it like this:
<TextField
label={'Password'}
highlightColor={'#3E5BB9'}
ref="password"
placeholder="Password"
secureTextEntry={true}
autoCapitalize="none"
returnKeyType="go"
onSubmitEditing={(event) => { if (!this.state.loggingIn){ this._loginSubmit(); }} } />
same thing for me. Strange, because I can even see the secureTextEntry: true
prop on the nested TextInput component when looking at the inspector. It just does't take the setting...
What about inputs like password?