Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
During a reset Event, combobox does reset the selectedItem but doesn't respect the fact the current selectedItem might be included in the new source.
What I propose is to change
else if (ce.kind == CollectionEventKind.RESET)
{ collectionChanged = true; if (!selectedIndexChanged && !selectedItemChanged) selectedIndex = prompt ? -1 : 0; invalidateProperties(); }to
else if (ce.kind == CollectionEventKind.RESET)