@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
|
@@ -5982,7 +5982,7 @@ class SmartformwidgetComponent {
|
|
|
5982
5982
|
}
|
|
5983
5983
|
}
|
|
5984
5984
|
selected(event, widgetInstance) {
|
|
5985
|
-
let value = event.option.
|
|
5985
|
+
let value = event.option.value;
|
|
5986
5986
|
this.setTextFieldChipsValue(value);
|
|
5987
5987
|
}
|
|
5988
5988
|
setTextFieldChipsValue(value) {
|
|
@@ -6286,11 +6286,13 @@ class SmartformwidgetComponent {
|
|
|
6286
6286
|
return false;
|
|
6287
6287
|
}
|
|
6288
6288
|
getChipsValue(value) {
|
|
6289
|
-
if ('
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6289
|
+
if (typeof value === 'object' && !Array.isArray(value) && value !== null) {
|
|
6290
|
+
if ('name' in value) {
|
|
6291
|
+
return value['name'];
|
|
6292
|
+
}
|
|
6293
|
+
if ('displayValue' in value) {
|
|
6294
|
+
return value['displayValue'];
|
|
6295
|
+
}
|
|
6294
6296
|
}
|
|
6295
6297
|
return value;
|
|
6296
6298
|
}
|