tuain-ng-forms-lib 15.0.17 → 15.0.19

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.
@@ -823,9 +823,9 @@ class FieldDescriptor extends FormElement {
823
823
  this._hasChanged = false;
824
824
  this._outputOnly = false;
825
825
  this._tooltipText = '';
826
- this.placeholder = '';
827
826
  this.fieldCode = '';
828
827
  this.fieldOptions = null;
828
+ this.placeholder = '';
829
829
  this.propagationCustomAttributes = this._formConfig?.propagationCustomAttributes?.fields ?? [];
830
830
  this.elementType = elementTypes.field;
831
831
  const fld = (inputFieldReceived) ? inputFieldReceived : {};
@@ -2696,7 +2696,7 @@ class LibEventManagerService {
2696
2696
  }
2697
2697
  getEventNames() { return Object.keys(this.eventSubjects); }
2698
2698
  getSubject(eventClassName) { return eventClassName ? this.eventSubjects[eventClassName] : null; }
2699
- subscribe(eventClassName, callback) { this.getSubject(eventClassName).subscribe(callback); }
2699
+ subscribe(eventClassName, callback) { return this.getSubject(eventClassName).subscribe(callback); }
2700
2700
  next(eventClassName, data) { this.getSubject(eventClassName).next(data); }
2701
2701
  }
2702
2702