@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.
@@ -4181,12 +4181,14 @@ class SmartFormService {
4181
4181
  });
4182
4182
  }
4183
4183
  toSmartForm(group) {
4184
- this.copyValueFromFormToWidgetBeans(this.smartForm.widgets, group);
4185
- const data = this.smartForm?.componentModel?.data;
4186
- if (data) {
4187
- for (const key of this.getPropertyNamesDeeply(data)) {
4188
- if (group.controls[key]) {
4189
- this.setValueDeeply(data, key, group.controls[key].value);
4184
+ if (this.smartForm) {
4185
+ this.copyValueFromFormToWidgetBeans(this.smartForm.widgets, group);
4186
+ const data = this.smartForm.componentModel?.data;
4187
+ if (data) {
4188
+ for (const key of this.getPropertyNamesDeeply(data)) {
4189
+ if (group.controls[key]) {
4190
+ this.setValueDeeply(data, key, group.controls[key].value);
4191
+ }
4190
4192
  }
4191
4193
  }
4192
4194
  }
@@ -6730,6 +6732,7 @@ class SmartformLayoutDefinitionService {
6730
6732
  selection: layoutDefinition.selection,
6731
6733
  hint: layoutDefinition.hint,
6732
6734
  maxLength: layoutDefinition.maxLength,
6735
+ showCharacterLimitSuffix: layoutDefinition.showCharacterLimitSuffix,
6733
6736
  };
6734
6737
  return widget;
6735
6738
  }