Password input
savelichalex opened this issue · 7 comments
savelichalex commented
What about inputs like password?
cem2ran commented
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
AndroConsis commented
YES I used, and Its not working 👎
aktraore commented
Well It worked for me @AndroConsis by just putting secureTextEntry={true} like in the TextInput, but I didn't test for IOS...
thngdude commented
Not working for me either version 2.0.4
skyride99 commented
Having the same issue are their any work arounds?
benniemosher commented
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(); }} } />
joeybenenati commented
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...