DateInputProps
Represents the props of the KendoReact DateInput component. The generic argument is passed to the onChange
property and is used as a target in the DateInputChangeEvent
interface.
Name | Type | Default | Description |
---|---|---|---|
allowCaretMode? |
|
|
Determines if the users should see a blinking caret inside the Date Input when possible. |
ariaControls? |
|
Reference the id of the element that the DateInput controls via ARIA. | |
ariaDescribedBy? |
|
Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message. | |
ariaExpanded? |
|
Indicate whether the popup content is expanded. | |
ariaHasPopup? |
|
|
Define the interactive popup type for assistive tech.
Use |
ariaLabel? |
|
The accessible label of the component. | |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. | |
ariaRole? |
|
Set the ARIA role of the DateInput root element. | |
autoCorrectParts? |
|
|
Determines whether to autocorrect invalid segments automatically. |
autoFill? |
|
|
Autofill missing parts with the current date on blur. |
autoFocus? |
|
|
Apply the |
autoSwitchKeys? |
|
|
A string array representing custom keys, which will move the focus to the next date format segment. |
autoSwitchParts? |
|
|
Determines whether to automatically move to the next segment after the user completes the current one. |
className? |
|
Set a custom CSS class on the DateInput DOM element. | |
clearButton? |
|
Show a clear button that sets | |
defaultValue? |
|
Set the initial | |
dir? |
|
Represents the | |
disabled? |
|
Determines whether the DateInput is disabled (see example). | |
enableMouseWheel? |
|
|
Indicates whether the mouse scroll can be used to increase/decrease the date segments values. |
fillMode? |
|
|
Control the The available options are:
|
format? |
|
Specifies the | |
formatPlaceholder? |
|
Specifies the descriptions of the format sections in the input field (more information and example). | |
id? |
|
Sets the | |
inputAttributes? |
|
Pass HTML attributes to the internal focusable input. Attributes required for core logic are ignored. | |
label? |
|
Renders a floating label for the DateInput. | |
max? |
|
Specifies the greatest date that is valid (see example). | |
maxTime? |
|
Specifies the greatest time that is valid (see example). | |
min? |
|
Specifies the smallest date that is valid (see example). | |
minTime? |
|
Specifies the smallest time that is valid (see example). | |
name? |
|
Specifies the This property is part of the FormComponentProps interface. | |
onChange? |
|
Fires when the user edits the | |
placeholder? |
|
Specifies the hint the DateInput displays when its value is | |
readonly? |
|
Put the component in read-only mode. | |
required? |
|
Specifies if This property is part of the FormComponentProps interface. | |
rounded? |
|
|
Control the corner The available options are:
|
size? |
|
|
Control the The available options are:
|
spinners? |
|
Specifies whether the Up and Down spin buttons will be rendered (see example). | |
steps? |
|
Specifies the incremental steps of the DateInput (see example). The available options are:
| |
tabIndex? |
|
Sets the | |
title? |
|
Sets the title of the | |
twoDigitYearMax? |
|
|
The maximum year to assume to be from the current century when typing two-digit year value (see example). The default value of 68, indicating that typing any value less than 69 will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx. |
valid? |
|
Overrides the validity state of the component.
If This property is part of the FormComponentProps interface. | |
validationMessage? |
|
Controls the form error message of the component. If set to an empty string, no error will be thrown. This property is part of the FormComponentProps interface. | |
validityStyles? |
|
If set to This property is part of the FormComponentProps interface. | |
value? |
|
Set the | |
width? |
|
Specifies the width of the DateInput. |