You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/multiselect-checkbox-in-dropdown.md
+23-11Lines changed: 23 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,19 @@ page_title: Checkbox in MultiSelect
6
6
slug: multiselect-kb-checkbox-in-dropdown
7
7
position:
8
8
tags:
9
-
ticketid: 1453142
9
+
ticketid: 1453142, 1606291
10
10
res_type: kb
11
11
---
12
12
13
13
## Environment
14
+
14
15
<table>
15
-
<tbody>
16
-
<tr>
17
-
<td>Product</td>
18
-
<td>MultiSelect for Blazor</td>
19
-
</tr>
20
-
</tbody>
16
+
<tbody>
17
+
<tr>
18
+
<td>Product</td>
19
+
<td>MultiSelect for Blazor</td>
20
+
</tr>
21
+
</tbody>
21
22
</table>
22
23
23
24
@@ -78,19 +79,19 @@ The MultiSelect offers a highlighted state for the selected items already, yet i
78
79
79
80
You can add a "Select All" feature through the `HeaderTemplate` - it only has to update the `Value` collection accordingly (empty, or to have all the items in the `Data`).
80
81
81
-
Here is one example:
82
+
>caption Select all MultiSelect items with a checkbox
82
83
83
84
````CSHTML
84
85
@* Note: If you use complex models, the GetChecked() method will be more complex and
85
86
you would need to implement another convention for the id attribute, and you would need to cast the context *@
0 commit comments