Mismatch in igx-combo: Non-matching values should not appear in the selection #14732
Labels
📈 enhancement
combo
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
When binding an array of values to the igx-combo and programmatically setting selected values that include non-existent items, the combo displays all values, including the invalid ones, in a comma-separated string. The expected behavior is that only the matched values in the bound array should be shown in the combo.
Steps to reproduce
Result
The igx-combo shows all the selected values, including ones that are not present in the bound array, in a comma-separated format.
Expected result
Only the values that match the data bound to the combo should appear in the selection, and the invalid values should be ignored or handled.
Enhancement Note
This is more of an enhancement request
This issue isn't a bug per se but more of an enhancement request. The current behavior is expected since the API selects values as provided, even if they aren't part of the bound data. However, it would be ideal if the combo box could automatically filter out invalid values to improve user experience and data accuracy.
Attachments
The text was updated successfully, but these errors were encountered: