File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
projects/igniteui-angular/src/lib/combo Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ All notable changes for each version of this project will be documented in this
94
94
...
95
95
handleSelection(event: IComboSelectionChangeEventArgs) {
96
96
const count = event.newSelection.length;
97
- event.textValue = count > 0 ? `${count} friend${count > 1 ? 's' : ''} invited!` : `No friends invited :(`;
97
+ event.textValue = count > 0 ? `${count} friend(s) invited!` : `No friends invited :(`;
98
98
}
99
99
...
100
100
}
Original file line number Diff line number Diff line change @@ -1413,9 +1413,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
1413
1413
this . registerRemoteEntries ( args . oldSelection , false ) ;
1414
1414
}
1415
1415
} else {
1416
- value = this . displayKey !== null && this . displayKey !== undefined ?
1417
- this . convertKeysToItems ( args . newSelection ) . map ( entry => entry [ this . displayKey ] ) . join ( ', ' ) :
1418
- args . newSelection . join ( ', ' ) ;
1416
+ value = this . concatTextValue ( args . newSelection ) ;
1419
1417
}
1420
1418
this . _value = value ;
1421
1419
this . _onChangeCallback ( args . newSelection ) ;
You can’t perform that action at this time.
0 commit comments