I am new to react native. For a native base text component Input
<InputGroup rounded style={{width:deviceWidth/2+80,borderColor:'black'}}>
<Input keyboardType='numeric' placeholder='Phone Number' onChangeText={(text) => OrderViewStore.phone=text} value={OrderViewStore.phone}/>
</InputGroup>
i am trying to populate a integer value in value={OrderViewStore.phone}/>
it throws error
Invalid prop
valueof type
numbersupplied to
TextInput, expected
string.