ngx-render-material-forms 1.8.8 → 1.8.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.
@@ -3508,7 +3508,9 @@ class AddOnProductsComponent {
3508
3508
  });
3509
3509
  }
3510
3510
  handleDropdownFilter() {
3511
- if (this.form.controls.dropdownLevel1.value !== '' || this.form.controls.searchProductName.value !== '') {
3511
+ const searchQuery = this.form.controls.searchProductName?.value?.trim(); // Trim to remove blank spaces
3512
+ const levelOneId = this.form.controls.dropdownLevel1?.value?.id;
3513
+ if ((searchQuery && searchQuery !== '') || (levelOneId && levelOneId !== null && levelOneId !== undefined)) {
3512
3514
  this.searchQuery = this.form.controls.searchProductName?.value;
3513
3515
  this.levelOneId = this.form.controls.dropdownLevel1.value?.id;
3514
3516
  this.levelTwoId = this.form.controls.dropdownLevel2.value?.id;
@@ -4238,7 +4240,7 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
4238
4240
  No products found. Please add some products.
4239
4241
  </ng-container>
4240
4242
  <ng-container *ngIf="showNewProductPicker && isCustomerCountryFiltered">
4241
- No Product found with selected Customeer country.
4243
+ No Product found with selected Customer country.
4242
4244
  </ng-container>
4243
4245
  </div>
4244
4246
  </ng-template>
@@ -4380,7 +4382,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
4380
4382
  No products found. Please add some products.
4381
4383
  </ng-container>
4382
4384
  <ng-container *ngIf="showNewProductPicker && isCustomerCountryFiltered">
4383
- No Product found with selected Customeer country.
4385
+ No Product found with selected Customer country.
4384
4386
  </ng-container>
4385
4387
  </div>
4386
4388
  </ng-template>