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: components/multiselect/overview.md
+43-27Lines changed: 43 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -14,47 +14,63 @@ The <a href="https://www.telerik.com/blazor-ui/multiselect" target="_blank">Blaz
14
14
15
15
## Creating MultiSelect
16
16
17
-
1. Use the `TelerikMultiSelect` tag to add the component to your razor page.
17
+
1. Add the `TelerikMultiSelect` tag to your razor page.
18
+
1.[Bind the `Data` parameter to the collection of objects or strings](slug:multiselect-databind) that you want to appear in the dropdown.
19
+
1. Set the `TextField` parameter to point to the object property that holds the user-readable value.
20
+
1. Set the `ValueField` parameter to point to the object property that holds the data item value.
21
+
1.[Bind the `Value` of the component](slug:get-started-value-vs-data-binding#value-binding) to a collection of the same type as the type defined by the `ValueField` parameter.
22
+
1. (optional) Configure additional features like `AutoClose`, `Placeholder`, or `ShowClearButton`.
18
23
19
-
1. Populate the `Data` property with the collection of items that you want to appear in the dropdown.
20
-
21
-
1.[Bind the value of the component](slug:get-started-value-vs-data-binding#value-binding) to a collection of the same type as the type defined in the `ValueField` parameter.
22
-
23
-
1. (Optional) Enable features like placeholder text, clear button, and AutoClose.
24
-
25
-
>caption MultiSelect two-way value binding, main features, and simple [data binding](slug:multiselect-databind)
24
+
>caption Basic Blazor MultiSelect two-way value binding, main features, and simple [data binding](slug:multiselect-databind)
26
25
27
26
````RAZOR
28
-
@* Main features and simple data binding for the suggestions and the Value *@
29
27
<TelerikMultiSelect Data="@Countries"
30
-
@bind-Value="@Values"
31
-
Placeholder="Enter Balkan country, e.g., Bulgaria"
0 commit comments