diff --git a/index.js b/index.js index 00e7242..bdb4e24 100644 --- a/index.js +++ b/index.js @@ -128,7 +128,8 @@ class SettingsList extends React.Component { style={item.editableTextStyle ? item.editableTextStyle : styles.editableText} placeholder = {item.placeholder} onChangeText={(text) => item.onTextChange(text)} - value={item.value} /> + value={item.value} + {...item.textInputProps} /> : null ]) } @@ -210,7 +211,7 @@ class SettingsList extends React.Component { {titleInfoPosition === 'Bottom' ? - {item.isEditable ? this._itemEditableBlock(item, inde, 'Bottom') : this._itemTitleBlock(item, index, 'Bottom')} + {item.isEditable ? this._itemEditableBlock(item, index, 'Bottom') : this._itemTitleBlock(item, index, 'Bottom')} : item.isEditable ? this._itemEditableBlock(item, index) : this._itemTitleBlock(item, index)} diff --git a/package.json b/package.json index 9659ec9..ec7ccab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-settings-list", - "version": "1.8.0", + "version": "1.8.1", "description": "A clean and highly customizable React Native implementation of a list of settings for a settings page.", "main": "index.js", "scripts": {