react-search-autocomplete
Advanced tools
Comparing version 6.1.0 to 6.1.1
@@ -140,2 +140,3 @@ "use strict"; | ||
onSelect(result); | ||
setSearchString(result[resultStringKeyName]); | ||
setHighlightedItem(0); | ||
@@ -177,2 +178,3 @@ }; | ||
onSelect(results[highlightedItem]); | ||
setSearchString(results[highlightedItem][resultStringKeyName]); | ||
setHighlightedItem(0); | ||
@@ -179,0 +181,0 @@ break; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "A search box for React", | ||
@@ -8,0 +8,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38097
598