igniteui-angular 13.2.20 → 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.
- package/esm2020/lib/select/select.component.mjs +2 -2
- package/esm2020/lib/simple-combo/simple-combo.component.mjs +5 -4
- package/fesm2015/igniteui-angular.mjs +8 -6
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +5 -4
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/core/styles/themes/schemas/dark/_scrollbar.scss +4 -4
- package/package.json +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
|
@@ -37889,7 +37889,7 @@ class IgxSimpleComboComponent extends IgxComboBaseDirective {
|
|
|
37889
37889
|
argsSelection = Array.isArray(argsSelection) ? argsSelection : [argsSelection];
|
|
37890
37890
|
this.selectionService.select_items(this.id, argsSelection, true);
|
|
37891
37891
|
if (this._updateInput) {
|
|
37892
|
-
this.comboInput.value = this._internalFilter = this._value = displayText !== args.displayText
|
|
37892
|
+
this.comboInput.value = this._internalFilter = this._value = this.searchValue = displayText !== args.displayText
|
|
37893
37893
|
? args.displayText
|
|
37894
37894
|
: this.createDisplayText(argsSelection, [args.oldSelection]);
|
|
37895
37895
|
}
|
|
@@ -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
|
|
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];
|
|
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
|
}
|
|
@@ -40550,7 +40551,7 @@ class IgxSelectComponent extends IgxDropDownComponent {
|
|
|
40550
40551
|
}
|
|
40551
40552
|
/** @hidden @internal */
|
|
40552
40553
|
selectItem(newSelection, event) {
|
|
40553
|
-
const oldSelection = this.selectedItem;
|
|
40554
|
+
const oldSelection = this.selectedItem ?? {};
|
|
40554
40555
|
if (newSelection === null || newSelection.disabled || newSelection.isHeader) {
|
|
40555
40556
|
return;
|
|
40556
40557
|
}
|