When a ComboBox's data source is bound to an ImmutableArray, its value is reset when it loses focus. #11602
Labels
area-Binding
Impacting DataBinding
untriaged
The team needs to look at this issue in the next triage
.NET version
net8.0-windows
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
not tested
Issue description
When a ComboBox is bound to a data source of type ImmutableArray, the selected value resets to the initial value upon losing focus.
This issue does not occur if the ImmutableArray is exposed as an IReadOnlyList.
This issue also occur in .Net 4.8.1 with the System.Collections.Immutable v8.0.0 package.
A minimal reproducible example is available here.
Steps to reproduce
At this point the first item is selected back.
The text was updated successfully, but these errors were encountered: