DateInputProps<T>
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 |
---|---|---|---|
ariaControls? |
|
Identifies the element whose contents or presence are controlled by the current element. | |
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? |
|
Indicates whether the element is currently expanded or collapsed. | |
ariaHasPopup? |
|
Indicates the availability of interactive popup element that can be triggered by an element. By default the property is set to | |
ariaLabel? |
|
The accessible label of the component. | |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. | |
ariaRole? |
|
Specifies the role of the DateInput. | |
className? |
|
Sets a class of the DateInput DOM element. | |
defaultValue? |
|
Specifies the default value of the DateInput. If | |
dir? |
|
Represents the | |
disabled? |
|
Determines whether the DateInput is disabled (see example). | |
fillMode? |
|
|
Configures 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 | |
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. | |
placeholder? |
|
Specifies the hint the DateInput displays when its value is | |
readonly? |
|
Determines whether the DateInput is in its read-only state. | |
required? |
|
Specifies if This property is part of the FormComponentProps interface. | |
rounded? |
|
|
Configures the The available options are:
|
size? |
|
|
Configures 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 | |
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 DateInput. | |
width? |
|
Specifies the width of the DateInput. |
Methods
onChange | ||||||
---|---|---|---|---|---|---|
Determines the event handler that will be fired when the user edits the value (see example). | ||||||
|