We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf8675 commit 17d8301Copy full SHA for 17d8301
src/connectors/search-box/connectSearchBox.js
@@ -83,6 +83,7 @@ const connectSearchBox = searchBoxRendering => ({
83
return {
84
init({helper, onHistoryChange}) {
85
this._search = makeSearch(helper);
86
+ this._onHistoryChange = onHistoryChange;
87
searchBoxRendering({
88
query: helper.state.query,
89
containerNode,
@@ -101,7 +102,7 @@ const connectSearchBox = searchBoxRendering => ({
101
102
103
104
- onHistoryChange: () => {},
105
+ onHistoryChange: this.onHistoryChange,
106
poweredBy,
107
helper,
108
wrapInput,
0 commit comments