@aquera/nile-elements 1.2.2 → 1.2.3

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
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "1.2.2",
6
+ "version": "1.2.3",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -330,9 +330,11 @@ export class NileChip extends NileElement {
330
330
  // Reset the input-related properties
331
331
  this.inputValue = '';
332
332
  this.isDropdownOpen = false;
333
- this.autoComplete.value = '';
334
- this.autoComplete.handleFocus();
335
- }
333
+ if (!this.noAutoComplete && this.autoComplete) {
334
+ this.autoComplete.value = '';
335
+ this.autoComplete.handleFocus();
336
+ }
337
+ }
336
338
  }
337
339
 
338
340
  export default NileChip;