@thecb/components 6.0.0-beta.20 → 6.0.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -96,7 +96,7 @@ const Dropdown = ({
|
|
|
96
96
|
widthFitOptions = false,
|
|
97
97
|
disabled,
|
|
98
98
|
hasTitles = false,
|
|
99
|
-
autoEraseTypeAhead = true,
|
|
99
|
+
autoEraseTypeAhead = true,
|
|
100
100
|
ariaLabelledby,
|
|
101
101
|
autocompleteValue = "" // autofill item for browsers, like country-name or address-level1 for state
|
|
102
102
|
}) => {
|
|
@@ -303,7 +303,7 @@ const Dropdown = ({
|
|
|
303
303
|
console.log("input change event", e.target);
|
|
304
304
|
console.log("input change event value", e.target.value);
|
|
305
305
|
// support autofill and copy/paste
|
|
306
|
-
if (e.
|
|
306
|
+
if (e.target.value !== inputValue) {
|
|
307
307
|
setInputValue(e.target.value);
|
|
308
308
|
}
|
|
309
309
|
}}
|