DateInput

Example

Razor
<kendo-dateinput>
</kendo-dateinput>

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
forModelExpressionAn expression to be evaluated against the current model.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-moduleBoolean
auto-adjustBooleanIf 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-partsBooleanSets a value that indicates whether to automatically correct the segment when out of range
auto-switch-keysString[]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-partsBooleanA value indicating whether to automatically move to the next segment after a valid value is provided for the current
enable-mouse-wheelBooleanA value indicating whether the mouse scroll can be used to increase/decrease the segments values
fill-modeFillModeSets a value controlling how the color is applied.
formatStringSpecifies 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.
has-client-componentBoolean
input-modeStringSpecifies 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.
maxDateTimeSpecifies the maximum date which can be entered in the input.
minDateTimeSpecifies the minimum date that which be entered in the input.
on-changeStringFires when the selected date is changed
roundedRoundedSets a value controlling the border radius.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
sizeComponentSizeSets the size of the component.
two-digit-year-maxDoubleThe maximum year value that is considered part of the current century.
valueObjectSpecifies the selected date.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support