ngx-render-material-forms 1.5.7 → 1.5.9

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.
@@ -2778,13 +2778,14 @@ class MaterialSelectComponent extends MaterialComponent {
2778
2778
  if (isOpen) {
2779
2779
  this.pageNumber = 1;
2780
2780
  this.pageSize = 20;
2781
- this.searchQuery = '';
2782
- this.searching = false;
2783
- this.selectedValue = this.getValue();
2784
- if (this.searchItem?.length > 0) {
2785
- this.websiteMultiFilterCtrl.setValue(this.searchItem);
2786
- this.ref.detectChanges();
2781
+ if (this.searchQuery?.length > 0) {
2782
+ if (this.searchItem?.length > 0) {
2783
+ this.websiteMultiFilterCtrl.setValue(this.searchItem);
2784
+ this.ref.detectChanges();
2785
+ }
2787
2786
  }
2787
+ // this.searchQuery = '';
2788
+ this.searching = false;
2788
2789
  //this.loadData(this.pageNumber, this.pageSize, this.searchQuery);
2789
2790
  this.registerPanelScrollEvent(this.selectElem);
2790
2791
  }