ecabs-components 0.0.58 → 0.0.59
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.
|
@@ -889,8 +889,8 @@ class EcabsSelectComponent extends ElementBaseComponent {
|
|
|
889
889
|
}
|
|
890
890
|
// get the search keyword
|
|
891
891
|
let search = this.itemFilterCtrl.value;
|
|
892
|
-
if (!search || search === ''
|
|
893
|
-
if (this.useSearchOption) {
|
|
892
|
+
if (!search || search === '') {
|
|
893
|
+
if (this.useSearchOption && !this.items?.length) {
|
|
894
894
|
this.filteredItems$.next([...this.selectedItems]);
|
|
895
895
|
}
|
|
896
896
|
else {
|