[ad_1]
I’ve a react-native element which has a TextInput. On android, the placeholder reveals up with no downside, nonetheless, on IOS, it doesn’t present up. Beneath I’ve connected an image of the issue, in addition to the code for the textual content enter.
IOS TextInput Not displaying placeholder
<TextInput
model={{
backgroundColor:"white",
top: 40,
margin: 12,
borderWidth: 1,
borderBottomColor: '#ffffff',
borderTopColor: '#ffffff',
borderRightColor: '#ffffff',
borderLeftColor: '#ffffff',
padding: 10,
borderColor: "#ffffff",
width:"70%",
place:"absolute",
prime:80,
borderRadius:10
}}
placeholder="Search"
onChangeText={txtHandler}
defaultValue={textual content}
></TextInput>
[ad_2]
