tuain-ng-forms-lib 14.5.34 → 14.5.35
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/element.mjs +2 -1
- package/esm2020/lib/components/elements/field.component.mjs +3 -1
- package/fesm2015/tuain-ng-forms-lib.mjs +3 -0
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +3 -0
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -136,6 +136,7 @@ class FieldComponent extends ElementComponent {
|
|
|
136
136
|
if (componentAttr) {
|
|
137
137
|
const value = this.field?.[fieldAttr];
|
|
138
138
|
this.defaultProcessAttributeChange(componentAttr, value);
|
|
139
|
+
console.log(`1. customProcessAttributeChange ${componentAttr} ${value}`);
|
|
139
140
|
this.customProcessAttributeChange(componentAttr, value);
|
|
140
141
|
}
|
|
141
142
|
}
|
|
@@ -147,6 +148,7 @@ class FieldComponent extends ElementComponent {
|
|
|
147
148
|
const fullName = `customAttributes.${customAttribute}`;
|
|
148
149
|
if (value) {
|
|
149
150
|
this.defaultProcessAttributeChange(fullName, value);
|
|
151
|
+
console.log(`2. customProcessAttributeChange ${fullName} ${value}`);
|
|
150
152
|
this.customProcessAttributeChange(fullName, value);
|
|
151
153
|
}
|
|
152
154
|
}
|
|
@@ -675,6 +677,7 @@ class FormElement extends FormPiecePropagate {
|
|
|
675
677
|
setAttr(attr, value) {
|
|
676
678
|
const { name: attrName, propagate: name } = attr;
|
|
677
679
|
this[attrName] = value;
|
|
680
|
+
console.log(`Propagamos ${name} con valor ${value}`);
|
|
678
681
|
name && this.propagateAttribute(name, value);
|
|
679
682
|
}
|
|
680
683
|
isField() { return this.elementType === elementTypes.field; }
|