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/autocomplete/overview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ User input: @AutoCompleteValue
29
29
<TelerikAutoComplete Data="@Suggestions"
30
30
@bind-Value="@AutoCompleteValue"
31
31
Placeholder="Enter your role (can be free text)"
32
-
ClearButton="true" />
32
+
ShowClearButton="true" />
33
33
34
34
@code{
35
35
//Current value is null (no item is selected) which allows the Placeholder to be displayed.
@@ -94,7 +94,7 @@ The Blazor AutoComplete provides various parameters that allow you to configure
94
94
|`Value` and `bind-Value`|`string`| 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 `string`.|
95
95
|`ValueField`|`string` <br /> (`Value`) | The name of the field from the model that will be shown as hints to the user. Not required when binding to a simple list of strings. |
96
96
|`TabIndex`|`int?`| Maps to the `tabindex` attribute of the HTML element. You can use it to customize the order in which the inputs in your form focus with the `Tab` key. |
97
-
|`ClearButton`|`bool`| Whether the user will have the option to clear the selected value with a button on the input. When it is clicked, the `Value` will be updated to `string.Empty`. |
97
+
|`ShowClearButton`|`bool`| Whether the user will have the option to clear the selected value with a button on the input. When it is clicked, the `Value` will be updated to `string.Empty`. |
98
98
|`Enabled`|`bool`| Use this Boolean property to render a disabled Blazor AutoComplete component until certain requirements are met. |
99
99
|`ReadOnly`|`bool`| If set to `true`, the component will be readonly and will not allow user input. The component is not readonly by default and allows user input. |
100
100
|`MinLength`|`int`| How many characters the text has to be before the suggestions list appears. Cannot be `0`. Often works together with [filtering]({%slug autocomplete-filter%}). |
Placeholder="Select an item..." ClearButton="true" Filterable="true">
30
+
Placeholder="Select an item..." ShowClearButton="true" Filterable="true">
31
31
</TelerikComboBox>
32
32
33
33
@code {
@@ -85,7 +85,7 @@ The Blazor ComboBox @[template](/_contentTemplates/dropdowns/features.md#groupin
85
85
| ----------- | ----------- | -----------|
86
86
|`AdaptiveMode`|`AdaptiveMode` <br /> (`None`) | The [adaptive mode]({%slug adaptive-rendering%}) of the component. |
87
87
|`AllowCustom`|`bool`| whether the user can enter [custom values]({%slug components/combobox/custom-value%}). If enabled, the `ValueField` must be a `string`. |
88
-
|`ClearButton`|`bool`| whether the user will have the option to clear the selected value. When it is clicked, the `Value` will be updated to `default(TValue)`, so there must be no item in the `Data` that has such a `Value`. For example, if `TValue` is `int`, clearing the value will lead to a `0``Value`, so if there is an Item with `0` in its `ValueField` - issues may arise with its selection. This feature can often go together with `AllowCustom`. |
88
+
|`ShowClearButton`|`bool`| whether the user will have the option to clear the selected value. When it is clicked, the `Value` will be updated to `default(TValue)`, so there must be no item in the `Data` that has such a `Value`. For example, if `TValue` is `int`, clearing the value will lead to a `0``Value`, so if there is an Item with `0` in its `ValueField` - issues may arise with its selection. This feature can often go together with `AllowCustom`. |
89
89
|`Data`|`IEnumerable<TItem>`| allows you to provide the data source. Required. |
90
90
|`DebounceDelay`|`int` <br/> 150 | Time in milliseconds between the last typed symbol and the internal `oninput` event firing. Applies when the user types and filters. Use it to balance between client-side performance and number of database queries. |
91
91
|`Enabled`|`bool`| whether the component is enabled. |
Copy file name to clipboardExpand all lines: components/multicolumncombobox/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ The MultiColumnComboBox @[template](/_contentTemplates/dropdowns/features.md#gro
111
111
| ----------- | ----------- | -----------|
112
112
|`AdaptiveMode`|`AdaptiveMode` <br /> (`None`) | The [adaptive mode]({%slug adaptive-rendering%}) of the component. |
113
113
|`AllowCustom`|`bool`| Determines if the user can enter [custom values]({%slug multicolumncombobox-custom-value%}). If enabled, the `ValueField` must be a `string`. |
114
-
|`ClearButton`|`bool`| Displays a clear button inside the input. When it is clicked, the `Value` will change to `default(TValue)`, so there must be no item in the `Data` that has such a `Value`. For example, if `TValue` is `int`, there should be no data item with `0` in its `ValueField`, otherwise selection issues may occur. |
114
+
|`ShowClearButton`|`bool`| Displays a clear button inside the input. When it is clicked, the `Value` will change to `default(TValue)`, so there must be no item in the `Data` that has such a `Value`. For example, if `TValue` is `int`, there should be no data item with `0` in its `ValueField`, otherwise selection issues may occur. |
115
115
|`Data`|`IEnumerable<TItem>`| The component data. |
116
116
|`DebounceDelay`|`int` <br/> (`150`) | The time in milliseconds between the last typed symbol and the internal `oninput` event firing. Applies when the user types and filters. Use it to balance between client-side performance and number of database queries. |
117
117
|`Enabled`|`bool`| Whether the user can interact with the component. |
0 commit comments