Comparing version 1.0.20 to 1.0.21
@@ -73,5 +73,5 @@ "use strict"; | ||
var autosuggestions_1 = require("./utilities/autosuggestions"); | ||
var icons_1 = require("./utilities/icons"); | ||
var debounce_1 = require("./utilities/debounce"); | ||
var filterSuggestions_1 = require("./utilities/filterSuggestions"); | ||
var icons_1 = require("./utilities/icons"); | ||
var AutoComplete = function (_a) { | ||
@@ -98,2 +98,3 @@ var label = _a.label, onChange = _a.onChange, _b = _a.getData, getData = _b === void 0 ? function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { | ||
setSearchValue(''); | ||
setInputValue(suggestion[desc]); | ||
onChange(suggestion); | ||
@@ -138,2 +139,5 @@ setDropOpen(false); | ||
handleChangeWithDebounce(value); | ||
if (!value) { | ||
setInputValue(''); | ||
} | ||
}; | ||
@@ -140,0 +144,0 @@ var handleBlur = function () { |
{ | ||
"name": "qbs-core", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "React Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
85455
45
1659