@adins/ucsearch 2.9.11 → 2.9.12

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.
@@ -797,7 +797,9 @@ class UCSearchComponent {
797
797
  MaxComponent = this.configuration.component.find(x => x.name == component.name && (x.restriction.toUpperCase() == "LT"));
798
798
  }
799
799
  if (MinComponent && MaxComponent) {
800
- if (this.myForm.nativeElement[MinComponent.id].value > this.myForm.nativeElement[MaxComponent.id].value) {
800
+ let minValue = this.myForm.nativeElement[MinComponent.id].valueAsNumber;
801
+ let maxValue = this.myForm.nativeElement[MaxComponent.id].valueAsNumber;
802
+ if (minValue > maxValue) {
801
803
  this.toastr.warning(MinComponent.label + " must be less than " + MaxComponent.label);
802
804
  return false;
803
805
  }
@@ -1157,7 +1159,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
1157
1159
  args: ['enjiForm']
1158
1160
  }], myForm: [{
1159
1161
  type: ViewChild,
1160
- args: ['formIdSearch', { static: false }]
1162
+ args: ['formIdSearch']
1161
1163
  }], searchInput: [{
1162
1164
  type: Input
1163
1165
  }], pageSize: [{