If you want to bind a checkbox, and have it check / uncheck based on the value, use the @bind attribute instead of @bind-value:
<td><input type="checkbox" @bind="IsGoodCoaster" />I like it</td>
If you want to bind a checkbox, and have it check / uncheck based on the value, use the @bind attribute instead of @bind-value:
<td><input type="checkbox" @bind="IsGoodCoaster" />I like it</td>
This entry was posted on June 23, 2023, 11:20 am and is filed under Blazor. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
jgbenjam83dbd220a3 on Showing the MudDataGrid edit… | |
Shashank on Putting a line break in an res… | |
Ronaldo on jQuery autocomplete appears be… | |
isaks on Highlight row in a RadzenGrid… | |
Dan on Highlight row in a RadzenGrid… |