diff --git a/app/components/search_bar/search_box.js b/app/components/search_bar/search_box.js index 07ab94aac..f9dee6d91 100644 --- a/app/components/search_bar/search_box.js +++ b/app/components/search_bar/search_box.js @@ -330,6 +330,7 @@ export default class Search extends Component { }; render() { + const {backgroundColor, ...restOfInputPropStyles} = this.props.inputStyle; return ( - + + ]} + autoFocus={this.props.autoFocus} + editable={this.props.editable} + value={this.props.value} + onChangeText={this.onChangeText} + placeholder={this.placeholder} + placeholderTextColor={this.props.placeholderTextColor} + selectionColor={this.props.selectionColor} + onSubmitEditing={this.onSearch} + onSelectionChange={this.onSelectionChange} + autoCorrect={false} + blurOnSubmit={this.props.blurOnSubmit} + returnKeyType={this.props.returnKeyType || 'search'} + keyboardType={this.props.keyboardType || 'default'} + autoCapitalize={this.props.autoCapitalize} + onBlur={this.onBlur} + onFocus={this.onFocus} + underlineColorAndroid='transparent' + enablesReturnKeyAutomatically={true} + /> + {((this.props.iconSearch) ? - + + + {disabled && {helpText}