mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
[react_native] JS files from D1997727: [react_native] TextInput rename value to text
This commit is contained in:
@@ -80,7 +80,7 @@ var TextInputAndroidAttributes = {
|
||||
multiline: true,
|
||||
password: true,
|
||||
placeholder: true,
|
||||
value: true,
|
||||
text: true,
|
||||
testID: true,
|
||||
};
|
||||
|
||||
@@ -521,7 +521,7 @@ var TextInput = React.createClass({
|
||||
onSubmitEditing={this.props.onSubmitEditing}
|
||||
password={this.props.password || this.props.secureTextEntry}
|
||||
placeholder={this.props.placeholder}
|
||||
value={this.state.bufferedValue}
|
||||
text={this.state.bufferedValue}
|
||||
/>;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user