@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "6.0.0-beta.20",
3
+ "version": "6.0.0-beta.21",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -96,7 +96,7 @@ const Dropdown = ({
96
96
  widthFitOptions = false,
97
97
  disabled,
98
98
  hasTitles = false,
99
- autoEraseTypeAhead = true, // legacy behavior as of 05/22
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.tarvet.value !== inputValue) {
306
+ if (e.target.value !== inputValue) {
307
307
  setInputValue(e.target.value);
308
308
  }
309
309
  }}