@aquera/nile-elements 0.0.93 → 0.0.94

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": "0.0.93",
6
+ "version": "0.0.94",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -324,6 +324,9 @@ export class NileSelect extends NileElement implements NileFormControl {
324
324
  el.hidden = this.showSelected;
325
325
  }
326
326
  });
327
+ if(!this.showSelected){
328
+ this.hiddenItems=[]
329
+ }
327
330
 
328
331
  this.requestUpdate();
329
332
  }
@@ -888,6 +891,7 @@ export class NileSelect extends NileElement implements NileFormControl {
888
891
  // Hide
889
892
  this.emit('nile-hide', { value: this.value, name: this.name });
890
893
  this.showSelected = false;
894
+ this.hiddenItems = [];
891
895
  this.searchValue = '';
892
896
  this.filterOptions(this.searchValue);
893
897
  this.removeOpenListeners();