@smartbit4all/ng-client 3.3.86 → 3.3.88

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.
@@ -4109,13 +4109,15 @@ class SmartFormService {
4109
4109
  });
4110
4110
  }
4111
4111
  toSmartForm(group) {
4112
- var _a, _b;
4113
- this.copyValueFromFormToWidgetBeans(this.smartForm.widgets, group);
4114
- const data = (_b = (_a = this.smartForm) === null || _a === void 0 ? void 0 : _a.componentModel) === null || _b === void 0 ? void 0 : _b.data;
4115
- if (data) {
4116
- for (const key of this.getPropertyNamesDeeply(data)) {
4117
- if (group.controls[key]) {
4118
- this.setValueDeeply(data, key, group.controls[key].value);
4112
+ var _a;
4113
+ if (this.smartForm) {
4114
+ this.copyValueFromFormToWidgetBeans(this.smartForm.widgets, group);
4115
+ const data = (_a = this.smartForm.componentModel) === null || _a === void 0 ? void 0 : _a.data;
4116
+ if (data) {
4117
+ for (const key of this.getPropertyNamesDeeply(data)) {
4118
+ if (group.controls[key]) {
4119
+ this.setValueDeeply(data, key, group.controls[key].value);
4120
+ }
4119
4121
  }
4120
4122
  }
4121
4123
  }
@@ -6701,6 +6703,7 @@ class SmartformLayoutDefinitionService {
6701
6703
  selection: layoutDefinition.selection,
6702
6704
  hint: layoutDefinition.hint,
6703
6705
  maxLength: layoutDefinition.maxLength,
6706
+ showCharacterLimitSuffix: layoutDefinition.showCharacterLimitSuffix,
6704
6707
  };
6705
6708
  return widget;
6706
6709
  }