selectedEmployeeIds { get; set; } = new();
+
+ protected override async Task OnParametersSetAsync()
+ {
+ data = await DemoDataService.GetPreferredEmployeesAsync(count: 5);
+ }
+}
diff --git a/Havit.Blazor.Documentation/Pages/Components/HxCheckboxListDoc/HxCheckboxList_Documentation.razor b/Havit.Blazor.Documentation/Pages/Components/HxCheckboxListDoc/HxCheckboxList_Documentation.razor
index f3f5df6b2..46e4813f5 100644
--- a/Havit.Blazor.Documentation/Pages/Components/HxCheckboxListDoc/HxCheckboxList_Documentation.razor
+++ b/Havit.Blazor.Documentation/Pages/Components/HxCheckboxListDoc/HxCheckboxList_Documentation.razor
@@ -8,4 +8,9 @@
Group checkboxes on the same horizontal row by adding Inline="true"
.
+
+
+ Change the look of checkboxes by adding InputAsToggle="InputAsToggle.Toggle"
+
+
diff --git a/Havit.Blazor.Documentation/Pages/Components/HxRadioButtonListDoc/HxRadioButtonList_Demo_Toggle.razor b/Havit.Blazor.Documentation/Pages/Components/HxRadioButtonListDoc/HxRadioButtonList_Demo_Toggle.razor
new file mode 100644
index 000000000..409a4e7a7
--- /dev/null
+++ b/Havit.Blazor.Documentation/Pages/Components/HxRadioButtonListDoc/HxRadioButtonList_Demo_Toggle.razor
@@ -0,0 +1,22 @@
+@inject IDemoDataService DemoDataService
+
+
+
+Selected employee ID: @selectedEmployeeId
+
+@code {
+ private IEnumerable data;
+ private int? selectedEmployeeId;
+
+ protected override async Task OnInitializedAsync()
+ {
+ data = await DemoDataService.GetPreferredEmployeesAsync(count: 5);
+ }
+}
\ No newline at end of file
diff --git a/Havit.Blazor.Documentation/Pages/Components/HxRadioButtonListDoc/HxRadioButtonList_Documentation.razor b/Havit.Blazor.Documentation/Pages/Components/HxRadioButtonListDoc/HxRadioButtonList_Documentation.razor
index 0807f85dc..9840d31bb 100644
--- a/Havit.Blazor.Documentation/Pages/Components/HxRadioButtonListDoc/HxRadioButtonList_Documentation.razor
+++ b/Havit.Blazor.Documentation/Pages/Components/HxRadioButtonListDoc/HxRadioButtonList_Documentation.razor
@@ -1,4 +1,4 @@
-@attribute [Route("/components/" + nameof(HxRadioButtonList))]
+@attribute [Route("/components/" + nameof(HxRadioButtonList))]
@attribute [Route("/components/" + nameof(HxRadioButtonListBase))]
@@ -11,4 +11,7 @@
Group radios on the same horizontal row by adding Inline="true"
.
+
+ Change the look of radios by adding InputAsToggle="InputAsToggle.Toggle"
+
\ No newline at end of file
diff --git a/Havit.Blazor.Documentation/XmlDoc/Havit.Blazor.Components.Web.Bootstrap.xml b/Havit.Blazor.Documentation/XmlDoc/Havit.Blazor.Components.Web.Bootstrap.xml
index 68c6b01d0..f3cf6da0e 100644
--- a/Havit.Blazor.Documentation/XmlDoc/Havit.Blazor.Components.Web.Bootstrap.xml
+++ b/Havit.Blazor.Documentation/XmlDoc/Havit.Blazor.Components.Web.Bootstrap.xml
@@ -3078,6 +3078,21 @@
Default is null (unlimited).