ngx-render-material-forms 1.5.7 → 1.5.8
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/esm2020/lib/components/select/select.component.mjs +7 -6
- package/fesm2015/ngx-render-material-forms.js +7 -6
- package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
- package/fesm2020/ngx-render-material-forms.js +6 -5
- package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2778,13 +2778,14 @@ class MaterialSelectComponent extends MaterialComponent {
|
|
|
2778
2778
|
if (isOpen) {
|
|
2779
2779
|
this.pageNumber = 1;
|
|
2780
2780
|
this.pageSize = 20;
|
|
2781
|
+
if (this.searchQuery?.length > 0) {
|
|
2782
|
+
if (this.searchItem?.length > 0) {
|
|
2783
|
+
this.websiteMultiFilterCtrl.setValue(this.searchItem);
|
|
2784
|
+
this.ref.detectChanges();
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2781
2787
|
this.searchQuery = '';
|
|
2782
2788
|
this.searching = false;
|
|
2783
|
-
this.selectedValue = this.getValue();
|
|
2784
|
-
if (this.searchItem?.length > 0) {
|
|
2785
|
-
this.websiteMultiFilterCtrl.setValue(this.searchItem);
|
|
2786
|
-
this.ref.detectChanges();
|
|
2787
|
-
}
|
|
2788
2789
|
//this.loadData(this.pageNumber, this.pageSize, this.searchQuery);
|
|
2789
2790
|
this.registerPanelScrollEvent(this.selectElem);
|
|
2790
2791
|
}
|