We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee7350b commit 89f3d74Copy full SHA for 89f3d74
src/Components/SearchBox.tsx
@@ -51,7 +51,7 @@ export default class SearchBox extends React.Component {
51
this.headlessSearchBox.updateText(newInputValue);
52
}}
53
onChange={() => {
54
- this.headlessSearchBox.submit();
+ this.headlessSearchBox.selectSuggestion(this.headlessSearchBox.state.value);
55
56
options={this.state.suggestions.map((s) => s.rawValue)}
57
renderInput={(params) => (
0 commit comments