tuain-ng-forms-lib 15.2.10 → 15.2.11
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/piece-propagate.mjs +4 -2
- package/esm2020/lib/components/elements/field.component.mjs +3 -4
- package/esm2020/lib/components/elements/layout/piece.component.mjs +1 -2
- package/fesm2015/tuain-ng-forms-lib.mjs +5 -5
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +5 -5
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -28,7 +28,6 @@ class PieceComponent {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
else {
|
|
31
|
-
console.log(`defaultProcessAttributeChange ${attribute} ${value}`);
|
|
32
31
|
this[attribute] = value;
|
|
33
32
|
}
|
|
34
33
|
return true;
|
|
@@ -160,9 +159,8 @@ class FieldComponent extends ElementComponent {
|
|
|
160
159
|
const { name: componentAttr, value = null } = event ?? {};
|
|
161
160
|
if (componentAttr === 'placeholder') {
|
|
162
161
|
console.log(`------ attributeChange ${componentAttr} ${value}`);
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
console.log(`attributeChange ${componentAttr} ${value}`);
|
|
162
|
+
// } else {
|
|
163
|
+
// console.log(`attributeChange ${componentAttr} ${value}`);
|
|
166
164
|
}
|
|
167
165
|
if (componentAttr) {
|
|
168
166
|
this.defaultProcessAttributeChange(componentAttr, value);
|
|
@@ -669,7 +667,9 @@ class FormPiecePropagate extends FormPiece {
|
|
|
669
667
|
}
|
|
670
668
|
get attributeChange() { return this._attributeChange; }
|
|
671
669
|
propagateAttribute(name, value) {
|
|
672
|
-
|
|
670
|
+
if (name === 'placeholder') {
|
|
671
|
+
console.log(`propagateAttribute ${name} ${value}`);
|
|
672
|
+
}
|
|
673
673
|
this._attributeChange?.next({ name, value });
|
|
674
674
|
}
|
|
675
675
|
setCustomAttribute(name, value) {
|