tuain-ng-forms-lib 0.12.33 → 0.12.34

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.
@@ -3288,9 +3288,9 @@
3288
3288
  BasicFormComponent.prototype.setFieldValue = function (fieldCode, fieldValue) { return this.formStructure.setFieldValue(fieldCode, fieldValue); };
3289
3289
  BasicFormComponent.prototype.setFieldRequired = function (fieldCode, required) { return this.formStructure.setFieldRequired(fieldCode, required); };
3290
3290
  BasicFormComponent.prototype.setFieldErrorMessage = function (fieldCode, errorMessage) { return this.formStructure.setFieldErrorMessage(fieldCode, errorMessage); };
3291
- BasicFormComponent.prototype.setFieldError = function (code, message, type) {
3291
+ BasicFormComponent.prototype.setFieldError = function (fieldCode, code, message, type) {
3292
3292
  if (type === void 0) { type = 'error'; }
3293
- return this.formStructure.setFieldError(code, message, type);
3293
+ return this.formStructure.setFieldError(fieldCode, code, message, type);
3294
3294
  };
3295
3295
  BasicFormComponent.prototype.setFieldIntrinsicErrorMessage = function (code, message) { return this.formStructure.setFieldIntrinsicErrorMessage(code, message); };
3296
3296
  BasicFormComponent.prototype.setFieldOptions = function (fieldCode, optionsArray, idAttribute, nameAttribute) {