Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1373dab

Browse files
author
Olivia Bishop
committed
[react native] JS change to support placeholderTextColor on android
1 parent b09f3ea commit 1373dab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Libraries/Components/TextInput/TextInput.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ var AndroidTextInputAttributes = {
5050
multiline: true,
5151
password: true,
5252
placeholder: true,
53+
placeholderTextColor: true,
5354
text: true,
5455
testID: true,
5556
underlineColorAndroid: true,
@@ -514,6 +515,7 @@ var TextInput = React.createClass({
514515
onLayout={this.props.onLayout}
515516
password={this.props.password || this.props.secureTextEntry}
516517
placeholder={this.props.placeholder}
518+
placeholderTextColor={this.props.placeholderTextColor}
517519
text={this.state.bufferedValue}
518520
underlineColorAndroid={this.props.underlineColorAndroid}
519521
children={children}

0 commit comments

Comments
 (0)