DatePickerProps
Represents the props of the KendoReact DatePicker component.
Name | Type | Default | Description |
---|---|---|---|
adaptive? |
|
|
Enable adaptive rendering of the popup based on viewport width. |
adaptiveSubtitle? |
|
Set the subtitle text in the adaptive popup (action sheet). Use only when | |
adaptiveTitle? |
|
Set the title text in the adaptive popup (action sheet). Use only when | |
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? |
|
|
Autofill missing date 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. |
calendar? |
|
Allows you to customize or replace the default Calendar rendered by DatePicker.
(see example).
Example usage of the jsx
| |
className? |
|
Sets the jsx
| |
dateInput? |
|
Allows you to customize or replace the default DateInput rendered by 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? |
|
Set the initial | |
disabled? |
|
Determines whether the DatePicker is disabled (see example).
Example usage of the jsx
| |
enableMouseWheel? |
|
|
/**
|
fillMode? |
|
|
Control 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? |
|
Pass HTML attributes to the internal focusable input element. Attributes required for core logic are ignored. | |
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 when the user selects a new | |
onClose? |
|
Fires when the popup closes. | |
onFocus? |
|
Fires each time the user focuses any of the DatePicker elements.
Example usage of the jsx
| |
onOpen? |
|
Fires when the popup opens. | |
placeholder? |
|
Specifies the hint the DateInput displays when its value is jsx
| |
popup? |
|
Allows you to customize or replace the default Popup rendered by 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? |
|
|
Control the corner The available options are:
|
show? |
|
Specifies if the calendar will be displayed (see example).
Example usage of the jsx
| |
size? |
|
|
Control the The available options are:
|
tabIndex? |
|
Sets the jsx
| |
title? |
|
Sets the title of the jsx
| |
toggleButton? |
|
Allows you to customize or replace the default Toggle button rendered by DatePicker.
(see example).
Example usage of the jsx
| |
twoDigitYearMax? |
|
|
/**
|
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 current | |
weekNumber? |
|
Determines whether to display a week number column in the jsx
| |
width? |
|
Specifies the width of the DatePicker.
Example usage of the jsx
|