Set the disabled state in Blazor RadioButton Component

28 Sep 20231 minute to read

Radio Button component can be enabled/disabled by giving Disabled property. To disable Radio Button component, the Disabled property can be set as true.

@using Syncfusion.Blazor.Buttons

<SfRadioButton Label="Option 1" Name="default" Value="Checked" @bind-Checked="stringChecked"></SfRadioButton><br />
<SfRadioButton Label="Option 2" Name="default" Value="Disable" @bind-Checked="stringChecked" Disabled="true"></SfRadioButton><br />
<SfRadioButton Label="Option 3" Name="default" Value="None" @bind-Checked="stringChecked"></SfRadioButton>

@code {
    private string stringChecked = "Checked";

Blazor RadioButton in Disable State