I see that the RadzenToggleButton is new, I updated my solution for Radzen.Blazor, it is at 4.25.7 yet can not use the RadzenToggleButton, it is not recognized. how can I begin using it?
<RadzenToggleButton @bind-Value=@value Change=@OnChange Text="@(value ? "Turn off Notifications" : "Turn on Notifications" )" ButtonStyle="ButtonStyle.Light"
ToggleButtonStyle="ButtonStyle.Dark" InputAttributes="@(new Dictionary<string,object>(){ { "aria-label", "Turn off Notifications" }})" />
Ok I see the issue, I am developing a blazor server application and adding the RadzenToggleButton does not work like the other components for some reason, I tried adding Radzen.Blazor.RadzenToggleButton and it renders great.
Looks like this now
<Radzen.Blazor.RadzenToggleButton @bind-Value=@value Change=@OnChange Text="@(value ? "Turn off Notifications" : "Turn on Notifications" )" ButtonStyle="ButtonStyle.Light"
ToggleButtonStyle="ButtonStyle.Dark" InputAttributes="@(new Dictionary<string,object>(){ { "aria-label", "Turn off Notifications" }})" />
If I remove the Radzen.Blazor from it, it does not render. From the error messages I see it says Multiple components use the tag RadzenToggleButton and their is a list
Do you know why this component must have the Radzen.Blazor properties in order for it to work and will not work like the other Radzen components as they work as is.