Dear Syncfusion,
I have to display a group of checkboxes, binding their value to an array. What I tried is this:
<td>
@for(int i = 2011; i< 2021; i++)
{
<SfCheckBox Label="@i.ToString()" LabelPosition="LabelPosition.Before" @bind-Checked="@x[i-2011]"></SfCheckBox><br>
}
</td>
@code {
bool[] x = new bool[10] { false, false, false, false, false, false, false, false, false, false};
}
When I run the app, the checkboxes are frozen, they can not be checked.
How can this be done properly, please?
Thanks!