tuain-ng-forms-lib 15.1.3 → 15.1.5
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/esm2020/lib/classes/forms/field.mjs +2 -2
- package/esm2020/lib/classes/forms/form.mjs +2 -1
- package/esm2020/lib/classes/forms/piece.mjs +2 -1
- package/fesm2015/tuain-ng-forms-lib.mjs +3 -1
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +3 -1
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/classes/forms/form.d.ts +1 -1
- package/lib/classes/forms/piece.d.ts +1 -1
- package/package.json +1 -1
|
@@ -554,6 +554,7 @@ class FormPiece {
|
|
|
554
554
|
Object.entries(attributes).forEach(([name, value]) => {
|
|
555
555
|
this.setCustomAttribute(name, value);
|
|
556
556
|
});
|
|
557
|
+
return this;
|
|
557
558
|
}
|
|
558
559
|
matchAttribute(name, value) { return this.customAttributes?.[name] === value; }
|
|
559
560
|
setVisibleStates(newStates) {
|
|
@@ -774,7 +775,7 @@ const directChanges = [
|
|
|
774
775
|
'defaultEditable', 'defaultValue', 'alignment', 'required', 'errorCode', 'errorMessage', 'errorType',
|
|
775
776
|
'tooltip', 'info', 'format', 'intrinsicErrorMessage', 'outputOnly', 'captureType', 'title', 'type',
|
|
776
777
|
'maxLength', 'maxValue', 'minLength', 'minValue', 'validateOnServer', 'serverAction', 'visibleLabel',
|
|
777
|
-
'options',
|
|
778
|
+
'options', 'placeholder'
|
|
778
779
|
];
|
|
779
780
|
const attrs$1 = {
|
|
780
781
|
_captureType: { name: '_captureType', propagate: 'captureType' },
|
|
@@ -2299,6 +2300,7 @@ class FormStructureAndData {
|
|
|
2299
2300
|
this.setCustomAttribute(name, value);
|
|
2300
2301
|
});
|
|
2301
2302
|
}
|
|
2303
|
+
return this;
|
|
2302
2304
|
}
|
|
2303
2305
|
// Fields
|
|
2304
2306
|
get fieldNames() { return this.getFieldNames(); }
|