DatePickerProps
Represents the props of the KendoReact DatePicker component.
Name | Type | Default | Description |
---|---|---|---|
adaptive? |
|
Providing different rendering of the popup element based on the screen dimensions. | |
adaptiveTitle? |
|
Specifies the text that is rendered as title in the adaptive popup. | |
allowCaretMode? |
|
|
Determines if the users should see a blinking caret inside the Date Input when possible. |
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.
Example usage of the jsx
| |
ariaLabel? |
|
The accessible label of the component.
Example usage of the jsx
| |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component.
Example usage of the jsx
| |
autoCorrectParts? |
|
|
Determines whether to autocorrect invalid segments automatically. |
autoFill? |
|
|
When enabled, the DatePicker will autofill the rest of the date to the current date when the component loses focus. |
autoFocus? |
|
Represents 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. |
calendar? |
|
Enables the customization or the override of the default Calendar which is rendered by the DatePicker
(see example).
Example usage of the jsx
| |
className? |
|
Sets the jsx
| |
dateInput? |
|
Enables the customization or the override of the default DateInput which is rendered by the DatePicker
(see example).
Example usage of the jsx
| |
defaultShow? |
|
Sets the default state of the DatePicker upon render (see example).
Example usage of the jsx
| |
defaultValue? |
|
Sets the default value of the DatePicker (see example). | |
disabled? |
|
Determines whether the DatePicker is disabled (see example).
Example usage of the jsx
| |
enableMouseWheel? |
|
|
Indicates whether the mouse scroll can be used to increase/decrease the date segments values. |
fillMode? |
|
|
Configures the The available options are:
|
focusedDate? |
|
Specifies the focused date of the DatePicker (see example).
Example usage of the jsx
| |
format? |
|
Specifies the date format that is used to display the input value (see example).
Example usage of the jsx
| |
formatPlaceholder? |
|
Defines the descriptions of the format sections in the input field (more information and examples).
Example usage of the jsx
| |
id? |
|
Specifies the jsx
| |
inputAttributes? |
|
Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed. | |
label? |
|
Renders a floating label for the DatePicker.
Example usage of the jsx
| |
max? |
|
Specifies the greatest valid date (see example).
Example usage of the jsx
| |
min? |
|
Specifies the smallest valid date (see example).
Example usage of the jsx
| |
name? |
|
Specifies the jsx
| |
onBlur? |
|
Fires each time any of the DatePicker elements gets blurred.
Example usage of the jsx
| |
onChange? |
|
Fires each time the user selects a new value (see example). | |
onClose? |
|
Fires each time the popup is closed. | |
onFocus? |
|
Fires each time the user focuses any of the DatePicker elements.
Example usage of the jsx
| |
onOpen? |
|
Fires each time the popup is opened. | |
pickerWrap? |
| ||
placeholder? |
|
Specifies the hint the DateInput displays when its value is jsx
| |
popup? |
|
Enables the customization or the override of the default Popup which is rendered by the DatePicker
(see example).
Example usage of the jsx
| |
popupSettings? |
|
Configures the popup options of the DatePicker. The available options are:
Example usage of the jsx
| |
required? |
|
Specifies if This property is part of the FormComponentProps interface. | |
rounded? |
|
|
Configures the The available options are:
|
show? |
|
Specifies if the calendar will be displayed (see example).
Example usage of the jsx
| |
size? |
|
|
Configures the The available options are:
|
tabIndex? |
|
Sets the jsx
| |
title? |
|
Sets the title of the jsx
| |
toggleButton? |
|
Enables the customization or the override of the default Toggle button which is rendered by the DatePicker
(see example).
Example usage of the jsx
| |
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? |
|
Specifies the value of the DatePicker (see example).
| |
weekNumber? |
|
Determines whether to display a week number column in the jsx
| |
width? |
|
Specifies the width of the DatePicker.
Example usage of the jsx
|