From 327f84b967c02e5f84d42e714871a2bca9acb537 Mon Sep 17 00:00:00 2001 From: Andrei Coman Date: Thu, 6 Aug 2015 11:02:19 -0700 Subject: [PATCH] [ReactNative] Sync [react_native] Implement TextInput editable --- Libraries/Components/TextInput/TextInput.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 1cd5b9b75..f114ac18f 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -55,6 +55,7 @@ var AndroidTextInputAttributes = { text: true, testID: true, underlineColorAndroid: true, + editable : true, }; var viewConfigAndroid = { @@ -143,7 +144,6 @@ var TextInput = React.createClass({ ]), /** * If false, text is not editable. The default value is true. - * @platform ios */ editable: PropTypes.bool, /** @@ -497,6 +497,7 @@ var TextInput = React.createClass({ text={this._getText()} underlineColorAndroid={this.props.underlineColorAndroid} children={children} + editable={this.props.editable} />; return (