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.
- package/bundles/tuain-ng-forms-lib.umd.js +2 -2
- package/bundles/tuain-ng-forms-lib.umd.js.map +1 -1
- package/esm2015/lib/classes/forms/form.js +3 -3
- package/fesm2015/tuain-ng-forms-lib.js +2 -2
- package/fesm2015/tuain-ng-forms-lib.js.map +1 -1
- package/lib/classes/forms/form.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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(
|
|
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) {
|