[react_native] JS files from D1997727: [react_native] TextInput rename value to text
This commit is contained in:
parent
0b505901ba
commit
486d871a7b
|
@ -80,7 +80,7 @@ var TextInputAndroidAttributes = {
|
||||||
multiline: true,
|
multiline: true,
|
||||||
password: true,
|
password: true,
|
||||||
placeholder: true,
|
placeholder: true,
|
||||||
value: true,
|
text: true,
|
||||||
testID: true,
|
testID: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -521,7 +521,7 @@ var TextInput = React.createClass({
|
||||||
onSubmitEditing={this.props.onSubmitEditing}
|
onSubmitEditing={this.props.onSubmitEditing}
|
||||||
password={this.props.password || this.props.secureTextEntry}
|
password={this.props.password || this.props.secureTextEntry}
|
||||||
placeholder={this.props.placeholder}
|
placeholder={this.props.placeholder}
|
||||||
value={this.state.bufferedValue}
|
text={this.state.bufferedValue}
|
||||||
/>;
|
/>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue