Why is the binding of my Blazor InputCheckbox component not working as expected?
I’m using an EditForm
bound to a model to filter some data in my Blazor application. As part of this, I have a InputCheckbox
for each item in a list, which is bound to a bool attribute of that individual item. When I populate the list of objects of this class, I’m setting the initial value of the Selected
to be true
, so that every item is checked by default.