Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null reference exception in the MultiSelectorHelper #4518

Open
vicitacal opened this issue Sep 23, 2024 · 0 comments
Open

Null reference exception in the MultiSelectorHelper #4518

vicitacal opened this issue Sep 23, 2024 · 0 comments
Labels

Comments

@vicitacal
Copy link

Describe the bug

I use MultiSelectorHelper.SelectedItems in the DataTemplate and get a NullReferenceException every time this DataTemplate is changed to another one.

Steps to reproduce

Run demo and just change selected value in the combo box.

https://github.com/vicitacal/MahAppsBugDemo

Expected behavior

Template change successfully.

Actual behavior

Exception crush application.

Environment

MahApps.Metro version: v2.4.10
Windows build number: Win10 21H2
Visual Studio: 2022 17.9.2
Target Framework: .Net Core 6 (6.0.133)
@vicitacal vicitacal added the Bug label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant