igniteui-angular 13.2.21 → 13.2.22

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.
@@ -37904,9 +37904,10 @@ class IgxSimpleComboComponent extends IgxComboBaseDirective {
37904
37904
  if (this.isRemote) {
37905
37905
  return this.getRemoteSelection(newSelection, oldSelection);
37906
37906
  }
37907
- if (this.displayKey !== null && this.displayKey !== undefined
37907
+ if (this.displayKey !== null
37908
+ && this.displayKey !== undefined
37908
37909
  && newSelection.length > 0) {
37909
- return this.convertKeysToItems(newSelection).map(e => e[this.displayKey])[0]?.toString() || '';
37910
+ return this.convertKeysToItems(newSelection).filter(e => e).map(e => e[this.displayKey])[0]?.toString() || '';
37910
37911
  }
37911
37912
  return newSelection[0]?.toString() || '';
37912
37913
  }