tuain-ng-forms-lib 12.0.38 → 12.0.40

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.
@@ -1864,6 +1864,14 @@
1864
1864
  this.setError('99', this._intrinsicErrorMessage);
1865
1865
  }
1866
1866
  }
1867
+ if (intrinsicValidation && fieldValue && this._minValue && fieldValue < this._minValue) {
1868
+ intrinsicValidation = false;
1869
+ this.setError('99', 'Campo con valor inferior al mínimo');
1870
+ }
1871
+ if (intrinsicValidation && fieldValue && this._maxValue && fieldValue > this._maxValue) {
1872
+ intrinsicValidation = false;
1873
+ this.setError('99', 'Campo con valor superior al máximo');
1874
+ }
1867
1875
  this._editionFinish.next({ code: this.fieldCode, intrinsicValidation: intrinsicValidation });
1868
1876
  };
1869
1877
  FieldDescriptor.prototype.setAttr = function (name, value) {