@smartbit4all/ng-client 3.3.223 → 3.3.224
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 +9 -7
- package/fesm2015/smartbit4all-ng-client.mjs +8 -6
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +8 -6
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.224.tgz +0 -0
- package/smartbit4all-ng-client-3.3.223.tgz +0 -0
|
@@ -5921,7 +5921,7 @@ class SmartformwidgetComponent {
|
|
|
5921
5921
|
}
|
|
5922
5922
|
}
|
|
5923
5923
|
selected(event, widgetInstance) {
|
|
5924
|
-
let value = event.option.
|
|
5924
|
+
let value = event.option.value;
|
|
5925
5925
|
this.setTextFieldChipsValue(value);
|
|
5926
5926
|
}
|
|
5927
5927
|
setTextFieldChipsValue(value) {
|
|
@@ -6231,11 +6231,13 @@ class SmartformwidgetComponent {
|
|
|
6231
6231
|
return false;
|
|
6232
6232
|
}
|
|
6233
6233
|
getChipsValue(value) {
|
|
6234
|
-
if ('
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6234
|
+
if (typeof value === 'object' && !Array.isArray(value) && value !== null) {
|
|
6235
|
+
if ('name' in value) {
|
|
6236
|
+
return value['name'];
|
|
6237
|
+
}
|
|
6238
|
+
if ('displayValue' in value) {
|
|
6239
|
+
return value['displayValue'];
|
|
6240
|
+
}
|
|
6239
6241
|
}
|
|
6240
6242
|
return value;
|
|
6241
6243
|
}
|