diff --git a/src/components/EnhancedSearch.js b/src/components/EnhancedSearch.js index 465b462..d3d43dc 100644 --- a/src/components/EnhancedSearch.js +++ b/src/components/EnhancedSearch.js @@ -30,11 +30,8 @@ const styles = theme => ({ }, textField: { flexBasis: 280, + borderColor: "#139657" }, - focused: { - color: '#139657', - backgroundColor: '#139657', - } }); /** @@ -53,19 +50,18 @@ class EnhancedSearch extends Component {
onUpdateQuery(event.target.value)} - InputProps={{ - startAdornment: , - }} - /> + value={query} + onChange={(event) => onUpdateQuery(event.target.value)} + InputProps={{ + startAdornment: , + }} + />
{this.props.showSearchColumns && this.props.columns.map(column => (
); - } + }; } // Type checking the props of the component