Skip to content
Snippets Groups Projects
Unverified Commit 380e1931 authored by Jack Reed's avatar Jack Reed Committed by GitHub
Browse files

Merge pull request #3343 from morpheus-87/patch-1

Fix clearing of search input
parents 86127487 8206deca
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