Environment
"react": "16.8.3",
"react-native": "0.59.8",
"react-native-paper": "2.16.0",
Description
In TextInput Component underlineColor is not working as expected. i tried different ways but underlineColor is not reflecting in android devices. i given hex value, rgba value, string color value. still same thing its not reflecting.
I don't want to show underline in android device while user starts entering the TextInput box.
Please help to fix this issue...i attached the sample expo and code.
Reproducible Demo
https://snack.expo.io/@anveshreddy8787/paper-textinput-refs
Sample Code:
<TextInput mode = "outlined"
ref = {this.lastName}
underlineColor='#ff0000'
value = {
this.state.lastName
}
style = {
{
marginVertical: 20,
marginRight: 40,
marginLeft: 20,
}
}
label = "Last Name"
theme = {
{
colors: {
primary: 'purple',
background: 'white'
}
}
}
keyboardType = 'default'
returnKeyType = 'next'
autoCapitalize = 'words'
onChangeText = {(value) => this.setState({lastName: value})}
onSubmitEditing = {(event) => {this.dateOfBirth.current.getElement().focus()}}
/>
Environment
"react": "16.8.3",
"react-native": "0.59.8",
"react-native-paper": "2.16.0",
Description
In TextInput Component underlineColor is not working as expected. i tried different ways but underlineColor is not reflecting in android devices. i given hex value, rgba value, string color value. still same thing its not reflecting.
I don't want to show underline in android device while user starts entering the TextInput box.
Please help to fix this issue...i attached the sample expo and code.
Reproducible Demo
https://snack.expo.io/@anveshreddy8787/paper-textinput-refs
Sample Code:
<TextInput mode = "outlined"
ref = {this.lastName}
underlineColor='#ff0000'
value = {
this.state.lastName
}
style = {
{
marginVertical: 20,
marginRight: 40,
marginLeft: 20,
}
}
label = "Last Name"
theme = {
{
colors: {
primary: 'purple',
background: 'white'
}
}
}