tuain-ng-forms-lib 15.2.11 → 15.2.12
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 +1 -3
- package/esm2020/lib/classes/forms/piece-propagate.mjs +1 -4
- package/esm2020/lib/components/elements/field.component.mjs +1 -6
- package/fesm2015/tuain-ng-forms-lib.mjs +0 -10
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +0 -10
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/components/elements/field.component.d.ts +0 -1
- package/package.json +1 -1
|
@@ -157,11 +157,6 @@ class FieldComponent extends ElementComponent {
|
|
|
157
157
|
// Subscripción a cambios en atributos
|
|
158
158
|
this.field?.attributeChange.subscribe(event => {
|
|
159
159
|
const { name: componentAttr, value = null } = event ?? {};
|
|
160
|
-
if (componentAttr === 'placeholder') {
|
|
161
|
-
console.log(`------ attributeChange ${componentAttr} ${value}`);
|
|
162
|
-
// } else {
|
|
163
|
-
// console.log(`attributeChange ${componentAttr} ${value}`);
|
|
164
|
-
}
|
|
165
160
|
if (componentAttr) {
|
|
166
161
|
this.defaultProcessAttributeChange(componentAttr, value);
|
|
167
162
|
this.customProcessAttributeChange(componentAttr, value);
|
|
@@ -667,9 +662,6 @@ class FormPiecePropagate extends FormPiece {
|
|
|
667
662
|
}
|
|
668
663
|
get attributeChange() { return this._attributeChange; }
|
|
669
664
|
propagateAttribute(name, value) {
|
|
670
|
-
if (name === 'placeholder') {
|
|
671
|
-
console.log(`propagateAttribute ${name} ${value}`);
|
|
672
|
-
}
|
|
673
665
|
this._attributeChange?.next({ name, value });
|
|
674
666
|
}
|
|
675
667
|
setCustomAttribute(name, value) {
|
|
@@ -1169,8 +1161,6 @@ class FieldDescriptor extends FormElement {
|
|
|
1169
1161
|
this.setAttr(attrs$1._errorMessage, message ?? '');
|
|
1170
1162
|
}
|
|
1171
1163
|
updateFromServer(fld) {
|
|
1172
|
-
console.log('updateFromServer');
|
|
1173
|
-
console.log(fld);
|
|
1174
1164
|
const fieldKeys = Object.keys(fld);
|
|
1175
1165
|
for (let index = 0; index < fieldKeys.length; index++) {
|
|
1176
1166
|
const attrName = fieldKeys[index];
|