diff --git a/src/Toolbar/Toolbar.react.js b/src/Toolbar/Toolbar.react.js index c01f8578..86d8919f 100644 --- a/src/Toolbar/Toolbar.react.js +++ b/src/Toolbar/Toolbar.react.js @@ -51,6 +51,14 @@ const propTypes = { * Indicates when input should be focused after the search is opened. */ autoFocus: PropTypes.bool, + /** + * Enable auto-capitalize for search input + */ + autoCapitalize: PropTypes.string, + /** + * Enable auto-correct for search input + */ + autoCorrect: PropTypes.bool, }), /** * You can overide any style for the component via this prop @@ -338,6 +346,8 @@ class Toolbar extends PureComponent { { this.searchFieldRef = ref; }} autoFocus={searchable.autoFocus} + autoCapitalize={searchable.autoCapitalize} + autoCorrect={searchable.autoCorrect} onChangeText={this.onSearchTextChanged} onSubmitEditing={searchable.onSubmitEditing} placeholder={searchable.placeholder}