@smartbit4all/ng-client 3.0.25 → 3.0.26

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.
@@ -3097,6 +3097,12 @@ class SmartFormService {
3097
3097
  value: value[valueSetData.keyProperty],
3098
3098
  };
3099
3099
  });
3100
+ widget.valueList?.unshift({
3101
+ key: '',
3102
+ label: '',
3103
+ type: SmartFormWidgetType.ITEM,
3104
+ value: undefined,
3105
+ });
3100
3106
  }
3101
3107
  else if (widget.selection.type === SelectionDefinition.TypeEnum.Object &&
3102
3108
  !widget.selection.mapping.length) {
@@ -3109,6 +3115,12 @@ class SmartFormService {
3109
3115
  value: value,
3110
3116
  };
3111
3117
  });
3118
+ widget.valueList?.unshift({
3119
+ key: '',
3120
+ label: '',
3121
+ type: SmartFormWidgetType.ITEM,
3122
+ value: undefined,
3123
+ });
3112
3124
  }
3113
3125
  }
3114
3126
  }
@@ -4336,13 +4348,6 @@ class SmartformwidgetComponent {
4336
4348
  }
4337
4349
  // calling this.truncateUri didn't work
4338
4350
  // TODO: use widget.selection.parameter for ignoreUriVersion / strictUriComparison;
4339
- if (this.widgetInstance) {
4340
- if (this.widgetInstance.type == SmartFormWidgetType.SELECT ||
4341
- this.widgetInstance.type == SmartFormWidgetType.SELECT_MULTIPLE) {
4342
- if (this.widgetInstance.selection && this.widgetInstance.selection.type == 'PROPERTY') {
4343
- }
4344
- }
4345
- }
4346
4351
  let v1 = convert(o1);
4347
4352
  let v2 = convert(o2);
4348
4353
  return v1 === v2;