tuain-ng-forms-lib 0.12.32 → 0.12.33

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.
@@ -2775,9 +2775,9 @@
2775
2775
  var fieldObject = this.getFieldObject(fieldCode);
2776
2776
  return (fieldObject) ? fieldObject.setValue(fieldValue) : null;
2777
2777
  };
2778
- FormStructureAndData.prototype.setFieldError = function (code, message, type) {
2778
+ FormStructureAndData.prototype.setFieldError = function (fieldCode, code, message, type) {
2779
2779
  if (type === void 0) { type = 'error'; }
2780
- var fieldObject = this.getFieldObject(code);
2780
+ var fieldObject = this.getFieldObject(fieldCode);
2781
2781
  return (fieldObject) ? fieldObject.setError(code, message, type) : null;
2782
2782
  };
2783
2783
  FormStructureAndData.prototype.setFieldIntrinsicErrorMessage = function (code, message) {