Closed we4sz closed 5 years ago
When creating a InputCheckbox where value is true the checkbox is still unchecked.
Steps to reproduce the behavior:
<EditForm Model="this"> <h4>Checkbox</h4> <InputCheckbox bind-Value="@Visible"></InputCheckbox> </EditForm>
@functions{ [Parameter] protected bool Visible { get; set; } = true; }
### Expected behavior The checkbox should be checked ### Additional context ```xml <PackageReference Include="Microsoft.AspNetCore.Blazor" Version="0.9.0-preview3-19154-02" /> <PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.9.0-preview3-19154-02" PrivateAssets="all" />
Thanks @we4sz for reporting this. It will be fixed in the next release.
Describe the bug
When creating a InputCheckbox where value is true the checkbox is still unchecked.
To Reproduce
Steps to reproduce the behavior:
@functions{ [Parameter] protected bool Visible { get; set; } = true; }