secullum-react-native-ui 4.16.0 → 4.16.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -76,6 +76,9 @@ class TextBox extends React.Component {
|
|
|
76
76
|
//@ts-ignore: no Android < 6 essa é a prop que deixa o underline transparente. https://stackoverflow.com/questions/40478246/remove-underline-in-inputtext-in-react-native
|
|
77
77
|
borderWidth: 0,
|
|
78
78
|
placeholder: this.props.placeholder,
|
|
79
|
+
// We set a fixed color for the placeholder to prevent it from being affected by the device's theme.
|
|
80
|
+
// Related issue on GitLab: 12074
|
|
81
|
+
placeholderTextColor: (0, theme_1.getTheme)().textColor3,
|
|
79
82
|
secureTextEntry: this.props.secureTextEntry,
|
|
80
83
|
multiline: this.props.multiline,
|
|
81
84
|
editable: this.props.editable,
|