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.
@@ -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
- else {
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
- console.log(`propagateAttribute ${name} ${value}`);
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) {