DateInputTagHelper
Example
Razor
<kendo-dateinput>
</kendo-dateinput>
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | Sets the name of the component. |
| as-module | Boolean | Specifies whether the initialization script of the component will be rendered as a JavaScript module. |
| is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
| auto-adjust | Boolean | If this property is enabled and you have configured min and/or max values, and the user enters a value that falls out of that range, the value will automatically be set to either the minimum or maximum allowed value. |
| auto-correct-parts | Boolean | Sets a value that indicates whether to automatically correct the segment when out of range |
| auto-switch-keys | String[] | A string array representing keys that when pressed will force a move to the next segment. By default the culture specific symbols that match / and : are used. |
| auto-switch-parts | Boolean | A value indicating whether to automatically move to the next segment after a valid value is provided for the current |
| enable-mouse-wheel | Boolean | A value indicating whether the mouse scroll can be used to increase/decrease the segments values |
| fill-mode | FillMode | Sets a value controlling how the color is applied. |
| deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
| for | ModelExpression | An expression to be evaluated against the current model. |
| format | String | Specifies the format, which is used to format the value of the DateInput displayed in the input. The format also will be used to parse the input. |
| input-mode | String | Specifies the inputmode attribute of the inner <input /> element. It is used to specify the type of on-screen keyboard that should be displayed when the user focuses the input. |
| max | DateTime | Specifies the maximum date which can be entered in the input. |
| min | DateTime | Specifies the minimum date that which be entered in the input. |
| on-change | String | The name of the JavaScript function that will handle the change event. Fires when the selected date is changed |
| rounded | Rounded | Sets a value controlling the border radius. |
| script-attributes | IDictionary<String,Object> | Sets the attributes that will be added to the script tag of the component's initialization script. |
| size | ComponentSize | Sets the size of the component. |
| two-digit-year-max | Double | The maximum year value that is considered part of the current century. |
| value | Object | Specifies the selected date. |