You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binding the TokenizingTextBox ItemSource to an ObservableCollection inside a nested object eg. {x:Bind ViewModel.MyObject.Tags, Mode=TwoWay} results in InvalidCastException: Unable to cast object of type 'CommunityToolKit.WinUi.Controls.InterspersedObservableCollection' to type 'System.Collections.ObjectModel.ObservalbeCollection[System.String]'
Describe the bug
Binding the TokenizingTextBox ItemSource to an ObservableCollection inside a nested object eg. {x:Bind ViewModel.MyObject.Tags, Mode=TwoWay} results in InvalidCastException: Unable to cast object of type 'CommunityToolKit.WinUi.Controls.InterspersedObservableCollection' to type 'System.Collections.ObjectModel.ObservalbeCollection[System.String]'
Steps to reproduce
Expected behavior
No exception should be thrown
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
22621
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
No, I'm unable to contribute a solution.
The text was updated successfully, but these errors were encountered: