My screen have 3 TextInput
: email, re email and password. Here is my code:
render() {
return (
<View>
<TextInput
placeholder="Mail Address"
onSubmitEditing={() => { this.remail.focus(); }}
keyboardType={"email-address"}
blurOnSubmit={false}
/>
<TextInput
secureTextEntry={false}
ref={(input) => { this.remail = input; }}
keyboardType={"email-address"}
onSubmitEditing={() => { this.password.focus(); }}
placeholder="Enter the mail address again"
/>
<TextInput
secureTextEntry={true}
ref={(input) => { this.password = input; }}
placeholder="Password"
/>
</View>
)
}
When TextInput
re email focus have a icon and text password above keyboard like photo:
How I can hide it when TextInput
remail
focus?
p/s : it only show in Iphone 5s and 6s, Iphone 6 and 5 don't show icon and text above keyboard
Thank you!