@smartbit4all/ng-client 3.3.233 → 3.3.235

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.
@@ -5598,6 +5598,8 @@ class SmartformwidgetComponent {
5598
5598
  (_a = this.onBlur) === null || _a === void 0 ? void 0 : _a.pipe(takeUntil(this._destroy$)).subscribe(() => {
5599
5599
  this.getErrorMessage(this.widgetInstance);
5600
5600
  });
5601
+ // handle initial error message from server
5602
+ this.getErrorMessage(this.widgetInstance);
5601
5603
  if (this.widgetInstance.type === SmartFormWidgetType.INDICATOR &&
5602
5604
  this.widgetInstance.indicator) {
5603
5605
  if ((_b = this.widgetInstance.indicator) === null || _b === void 0 ? void 0 : _b.indicatorLength) {
@@ -6125,6 +6127,7 @@ class SmartformwidgetComponent {
6125
6127
  widgetInstance.error = widgetInstance.serverErrorMessage;
6126
6128
  widgetInstance.errorIcon = widgetInstance.serverErrorIcon;
6127
6129
  widgetInstance.errorIconColor = widgetInstance.serverErrorColor;
6130
+ return true;
6128
6131
  }
6129
6132
  widgetInstance.error = undefined;
6130
6133
  }