Skip to content
Snippets Groups Projects
Commit 8206deca authored by Matthias Lindinger's avatar Matthias Lindinger Committed by Matthias Lindinger
Browse files

Fix clearing of search input

parent 86127487
No related branches found
No related tags found
No related merge requests found
...@@ -41,12 +41,12 @@ export class SearchPanelControls extends Component { ...@@ -41,12 +41,12 @@ export class SearchPanelControls extends Component {
/** */ /** */
handleChange(event, value, reason) { handleChange(event, value, reason) {
if (value) {
this.setState({ this.setState({
search: value, search: value,
suggestions: [], suggestions: [],
}); });
if (value) {
this.fetchAutocomplete(value); this.fetchAutocomplete(value);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment