TextInput in android is not working when i click on the input and start typing, no text is shown as input. I tested it on android 8.1 and 7.1.
react-native-cli : 2.0.1 react-native : 0.55.4
class LoginForm extends Component{
state={text: ''};
render(){
return(
<Card>
<CardSection>
<TextInput
value={this.state.text}
onChangeText={(text)=>this.setState({text})}
style={{height: 20, width: 1.0}}
/>
</CardSection>
<CardSection/>
<CardSection>
<Button>Log In</Button>
</CardSection>
</Card>
);
}
}
react-nativeversion also and if possible share some sample code.