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
+29-7Lines changed: 29 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ The MultiSelect is a generic component and its type is determined by the type of
81
81
82
82
*`Enabled` - whether the component is enabled.
83
83
84
-
*`Filterable` - whether [filtering]({%slug multiselect-filter%}) is enabled for the end user
84
+
*`Filterable` - whether [filtering]({%slug multiselect-filter%}) is enabled for the end user
85
85
(suggestions will get narrowed down as they type).
86
86
87
87
*`FilterOperator` - the string operation that will be used for [filtering]({%slug multiselect-filter%}). Defaults to `StartsWith`.
@@ -103,12 +103,12 @@ The MultiSelect is a generic component and its type is determined by the type of
103
103
*`TValue` - the type of the value field in the model to which the component is bound. Required if you can't provide `Data` or `Value`. Determines the type of the reference object.
104
104
105
105
The type of the values can be:
106
-
106
+
107
107
*`number` (such as `int`, `double` and so on)
108
108
*`string`
109
109
*`Guid`
110
110
*`Enum`
111
-
111
+
112
112
*`Value` and `bind-Value`- get/set the value of the component, can be used for binding. Use the `@bind-Value` syntax for two-way binding, for example, to a variable of your own. The `Value` must be a `List<TValue>`.
113
113
114
114
*`ValueField` - the name of the field from the model that will be used as values in the selection. Defaults to `Value`.
@@ -125,7 +125,12 @@ The MultiSelect is a generic component and its type is determined by the type of
125
125
>caption Pre-select items for the user
126
126
127
127
````CSHTML
128
-
@* If the List of items provided to the component contains an item matching the data source, that item will be selected *@
128
+
@* You can pre-select an item or set of items only if they exist in the data source. *@
0 commit comments