@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.
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +4 -1
- package/fesm2015/smartbit4all-ng-client.mjs +3 -0
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +3 -0
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.235.tgz +0 -0
- package/smartbit4all-ng-client-3.3.233.tgz +0 -0
|
@@ -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
|
}
|