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
>note As part of our `3.0.1` release we introduced the `Rebind` method to the component reference. This would make the rest of the approaches in this article obsolete.
3
-
#end
2
+
>note As part of our `3.0.1` release we introduced the `Rebind` method to the component reference. This can make some of the approaches in this article obsolete, especially resetting the collection reference.
@@ -65,6 +67,40 @@ Three breakpoints define the rendering options as follows:
65
67
**Dimensions** | up to 500px | 501px to 768px | over 768px |
66
68
**Rendering** | The popup is rendered as a fullscreen action sheet. | The popup is rendered as an action sheet docked to the bottom of the screen. | The popup is rendered as an animation container docked to the main element of the component. |
67
69
70
+
## Customize the Default Adaptive Breakpoints
71
+
72
+
You can customize the [above-listed default adaptive breakpoints](#rendering-specifics) at the root level by configuring the [`<TelerikRootComponent>`]({%slug rootcomponent-overview%}). To specify your desired breakpoints:
73
+
74
+
1. Wrap the content of the `<TelerikRootComponent>` (`@Body` and potentially other elements) in `<ChildContent>` tag.
75
+
1. Add the `<RootComponentSettings>` component inside the [`<TelerikRootComponent>`]({%slug rootcomponent-overview%}).
76
+
1. Add the `<RootComponentAdaptiveSettings>` component inside the `<RootComponentSettings>` tag and configure its properties:
Some of the [supported components](#supported-components) allow custom values, for example, [ComboBox](slug://components/combobox/custom-value) and [MultiColumnComboBox](slug://multicolumncombobox-custom-value). Using custom values with `AdaptiveMode.Auto` is currently not supported. To expedite the development of this feature, vote for the related feature request in the Blazor Feedback Portal: [Support for custom values in `AdaptiveMode`](https://feedback.telerik.com/blazor/1611829-support-for-custom-values-in-adaptivemode).
@@ -73,6 +109,7 @@ Some of the [supported components](#supported-components) allow custom values, f
Copy file name to clipboardExpand all lines: components/autocomplete/overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,7 @@ The Blazor AutoComplete provides various parameters that allow you to configure
88
88
|`Filterable`|`bool`| Whether [filtering](slug://multiselect-filter) is enabled for the end user (suggestions will get narrowed down as they type). |
89
89
|`FilterOperator`|`StringFilterOperator` <br /> (`StartsWith`) | The string operation that will be used for [filtering](slug://multiselect-filter). |
90
90
|`Id`|`string`| Renders as the `id` attribute on the `<input />` element, so you can attach a `<label for="">` to the input.|
91
+
|`InputMode`|`string`| The [`inputmode` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) of the `<input />` element. |
91
92
|`LoaderShowDelay`|`int ` <br /> 300 | Time in milliseconds between opening the popup and showing the loading skeleton in it when the data is not yet available. |
92
93
|`TItem`|`Type`| The type of the model to which the component is bound. Required if you can't provide `Data` or `Value`. Determines the type of the reference object. |
93
94
|`Title`|`string`| The title text rendered in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `Auto`](slug://adaptive-rendering). |
Copy file name to clipboardExpand all lines: components/colorpicker/overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ The ColorPicker tag exposes the following features through its attributes:
74
74
75
75
| Parameter | Type and Default Value | Description |
76
76
| --- | --- | --- |
77
+
|`AdaptiveMode`|`AdaptiveMode` <br /> (`None`) | The [adaptive mode]({%slug adaptive-rendering%}) of the component. |
77
78
|`Value`|`string`| The ColorPicker value in a few [different color formats](#supported-value-formats). Supports two-way binding. |
78
79
|`ValueFormat`|`ColorFormat` enum <br /> (`Rgb`) | Sets the color format, which the component will return in the application code - `Rgb` or `Hex`. |
79
80
|`ColorPickerViews`|`RenderFragment`| A nested container to list the [ColorPicker views](slug://colorpicker-views). All views are enabled by default and the user can switch between them with the buttons. Each view tag has its own configuration attributes. |
Copy file name to clipboardExpand all lines: components/combobox/overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ The Blazor ComboBox @[template](/_contentTemplates/dropdowns/features.md#groupin
93
93
|`Filterable`|`bool`| whether [filtering](slug://components/combobox/filter) is enabled for the end user. |
94
94
|`FilterOperator`|`StringFilterOperator` <br /> (`StartsWith`) | the method of [filtering](slug://components/combobox/filter) the items. |
95
95
|`Id`|`string`| renders as the `id` attribute on the `<input />` element, so you can attach a `<label for="">` to the input. |
96
+
|`InputMode`|`string`| The [`inputmode` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) of the `<input />` element. |
96
97
|`LoaderShowDelay`|`int ` <br /> 300 | Time in milliseconds between opening the popup and showing the loading skeleton in it when the data is not yet available. |
97
98
|`Placeholder`|`string`| the text the user sees as a hint when no item is selected. In order for it to be shown, the `Value` parameter should be set to a default value depending on the type defined in the `ValueField` parameter. For example, `0` for an `int`, and `null` for an `int?` or `string`. You need to make sure that it does not match the value of an existing item in the data source. |
98
99
|`TItem`|`Type`| the type of the model to which the component is bound. Required if you can't provide `Data` or `Value`. Determines the type of the reference object. |
Copy file name to clipboardExpand all lines: components/dateinput/overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ The following section lists some Date Input parameters and links to other pages
98
98
|`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. |
99
99
|`Format`|`string` <br /> (`ShortDatePattern`) | The textbox mask and date format that the user input must match. The default value depends on `CultureInfo.CurrentCulture`. Read more in the [Supported Formats](slug://components/dateinput/supported-formats) article. |
100
100
|`Id`|`string`| The `id` attribute of the `input`. |
101
+
|`InputMode`|`string`| The [`inputmode` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) of the `<input />` element. |
101
102
|`Max`|`DateTime` <br /> (`new DateTime(2099, 12, 31)`)| The latest allowed date that the user can type. |
102
103
|`Min`|`DateTime` <br /> (`DateTime(1900, 1, 1)`)| The earliest allowed date that the user can type. |
103
104
|`Placeholder`|`string`| The [`placeholder` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder) of the `input`. The placeholder will appear only if the component is bound to nullable `DateTime?` object, the `Value` is `null` and the component is not focused. Once the user focuses it to start typing, the `FormatPlaceholder` (default or [custom one](#format-placeholder)) will override the `Placeholder` to indicate the expected date format. |
Copy file name to clipboardExpand all lines: components/datepicker/overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ The Blazor Date Picker provides various parameters that allow you to configure t
83
83
|`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. |
84
84
|`Format`|`string` <br /> (`ShortDatePattern`) | The format of the DatePicker's DateInput. The default value depends on `CultureInfo.CurrentCulture`. Read more at [Supported date formats by the DateInput](slug://components/dateinput/supported-formats). |
85
85
|`Id`|`string`| The `id` attribute on the `<input />` element. Use it to attach a `<label for="">` to the input. |
86
+
|`InputMode`|`string`| The [`inputmode` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) of the `<input />` element. |
86
87
|`Max`|`DateTime` <br /> (`DateTime(2099, 12, 31, 23, 59, 59)`)| The latest date that the user can select. |
87
88
|`Min`|`DateTime` <br /> (`DateTime(1900, 1, 1, 0, 0, 0)`)| The earliest date that the user can select. |
88
89
|`Placeholder`|`string`| Maps to the `placeholder` attribute of the HTML element. The `Placeholder` will appear if the component is bound to a **nullable** DateTime object - `DateTime?`. It will not be rendered if the component is bound to the default value of a non-nullable DateTime object. The Placeholder value will be displayed when the input is not focused. Once the user focuses it to start typing, the Format Placeholder (default or [customized one](#format-placeholder)) will override the Placeholder to indicate the format the date should be entered in. |
Copy file name to clipboardExpand all lines: components/daterangepicker/overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,7 @@ The Blazor Date Range Picker provides various parameters that allow you to confi
85
85
|`Format`|`string` <br /> (`ShortDatePattern`) | The format of the DateRangePicker DateInputs. The default value depends on `CultureInfo.CurrentCulture`. Read more at [Supported date formats by the DateInput](slug://components/dateinput/supported-formats). |
86
86
|`Max`|`DateTime` <br /> (`DateTime(2099, 12, 31)`) | The latest date that the user can select. |
87
87
|`Min`|`DateTime` <br /> (`DateTime(1900, 1, 1)`)| The earliest date that the user can select. |
88
+
|`InputMode`|`string`| The [`inputmode` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) of the `<input />` element. |
88
89
|`Orientation`|`CalendarOrientation`enum <br /> (`Horizontal`) | The orientation of the calendar popup. The available options are `Horizontal` and `Vertical`. |
89
90
|`Placeholder`|`string`| The `placeholder` attribute of the two `<input />` elements. The `Placeholder` will appear if the component is bound to **nullable** DateTime objects - `DateTime?`, but will not be rendered if the component is bound to the default value of a non-nullable DateTime objects. The Placeholder value will be displayed when the input is not focused. Once the user focuses it to start typing, the Format Placeholder (default or [customized one](#format-placeholder)) will override the Placeholder to indicate the format the date should be entered in. |
90
91
|`ShowClearButton`|`bool`| Defines if the user can clear the component value through an **x** button rendered inside the input. |
Copy file name to clipboardExpand all lines: components/datetimepicker/overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ The Blazor Date Time Picker provides various parameters that allow you to config
79
79
|`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. |
80
80
|`Format`|`string` <br /> (`FullDateTimePattern`) | The format of the DateTimePicker's DateInput. The default value depends on `CultureInfo.CurrentCulture`. Read more at [Supported date formats by the DateInput](slug://components/dateinput/supported-formats). |
81
81
|`Id`|`string`| The `id` HTML attribute of the `input`|
82
+
|`InputMode`|`string`| The [`inputmode` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) of the `<input />` element. |
82
83
|`Max`|`DateTime` <br /> (`DateTime(2099, 12, 31, 23, 59, 59)`) | The latest date and time that the user can select |
83
84
|`Min`|`DateTime` <br /> (`DateTime(1900, 1, 1, 0, 0, 0)`) | The earliest date and time that the user can select |
84
85
|`Placeholder`|`string`| The `placeholder` attribute of the HTML element. The placeholder will appear if the component is bound to nullable DateTime object - `DateTime?`, but will not be rendered if the component is bound to the default value of a non-nullable DateTime object. The Placeholder value will be displayed when the input is not focused. Once the user focuses it to start typing, the Format Placeholder (default or [customized one](#format-placeholder)) will override the Placeholder to indicate the format the date should be entered in. |
Copy file name to clipboardExpand all lines: components/dropdownlist/overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,7 @@ The Blazor DropDownList @[template](/_contentTemplates/dropdowns/features.md#gro
94
94
|`FilterOperator`|`StringFilterOperator` <br /> (`StartsWith`)| The method of [filtering](slug://components/dropdownlist/filter) the items. |
95
95
| `FilterPlaceholder` | `string` | The hint that will be displayed in the filter input when it has no value.
96
96
|`Id`|`string`| The `id` attribute rendered on the main wrapping element of the component (`<span class="k-dropdownlist">`). You can use it to attach a `<label for="">` to it. |
97
+
|`InputMode`|`string`| The [`inputmode` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) of the `<input />` element. |
97
98
|`TItem`|`Type`| The type of the model to which the component is bound. Required if you can't provide `Data` or `Value`. Determines the type of the reference object. |
98
99
|`TValue`|`Type`| The type of the value field from the model to which the component is bound. Required if you can't provide `Data` or `Value`. Determines the type of the reference object. The type of the values can be:<br /> - `number` (such as `int`, `double`, and so on)<br /> - `string`<br /> - `Guid`<br /> - `Enum`|
99
100
|`Title`|`string`| The title text rendered in the header of the dropdown list popup (action sheet). Applicable only when [`AdaptiveMode` is set to `Auto`](slug://adaptive-rendering). |
0 commit comments