@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.
- package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +2 -1
- package/esm2020/lib/smart-form/services/smartform.service.mjs +9 -7
- package/fesm2015/smartbit4all-ng-client.mjs +10 -7
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +9 -6
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.88.tgz +0 -0
- package/smartbit4all-ng-client-3.3.86.tgz +0 -0
|
@@ -4181,12 +4181,14 @@ class SmartFormService {
|
|
|
4181
4181
|
});
|
|
4182
4182
|
}
|
|
4183
4183
|
toSmartForm(group) {
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
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
|
}
|