@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/README.md +3 -0
- package/dist/nile-select/nile-select.cjs.js +1 -1
- package/dist/nile-select/nile-select.cjs.js.map +1 -1
- package/dist/nile-select/nile-select.esm.js +1 -1
- package/dist/src/nile-select/nile-select.js +4 -0
- package/dist/src/nile-select/nile-select.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-select/nile-select.ts +4 -0
package/package.json
CHANGED
@@ -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();
|