@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.
@@ -5665,6 +5665,8 @@ class SmartformwidgetComponent {
5665
5665
  this.onBlur?.pipe(takeUntil(this._destroy$)).subscribe(() => {
5666
5666
  this.getErrorMessage(this.widgetInstance);
5667
5667
  });
5668
+ // handle initial error message from server
5669
+ this.getErrorMessage(this.widgetInstance);
5668
5670
  if (this.widgetInstance.type === SmartFormWidgetType.INDICATOR &&
5669
5671
  this.widgetInstance.indicator) {
5670
5672
  if (this.widgetInstance.indicator?.indicatorLength) {
@@ -6182,6 +6184,7 @@ class SmartformwidgetComponent {
6182
6184
  widgetInstance.error = widgetInstance.serverErrorMessage;
6183
6185
  widgetInstance.errorIcon = widgetInstance.serverErrorIcon;
6184
6186
  widgetInstance.errorIconColor = widgetInstance.serverErrorColor;
6187
+ return true;
6185
6188
  }
6186
6189
  widgetInstance.error = undefined;
6187
6190
  }