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
MaterialCheckboxGroup throws a NullReferenceException when both SelectedIndices and Choices and bound to the respective binding properties and Choices is and empty list.
🐛 Bug Report
MaterialCheckboxGroup
throws aNullReferenceException
when bothSelectedIndices
andChoices
and bound to the respective binding properties andChoices
is and empty list.This is due to
XF-Material-Library/XF.Material/UI/Internals/BaseMaterialSelectionControlGroup.cs
Line 145 in 20bc606
and
XF-Material-Library/XF.Material/UI/MaterialCheckboxGroup.xaml.cs
Line 130 in 20bc606
the
foreach
atMaterialCheckboxGroup.xaml.cs#L130
assumesModels
to be valid, but due toBaseMaterialSelectionControlGroup.cs#L145
it's not.The text was updated successfully, but these errors were encountered: