DateInputProps
Represents the props of the Kendo UI for Vue DateInput component. The change event passes a DateInputChangeEvent object to its handler.
Definition
Package:@progress/kendo-vue-dateinputs
Properties
ariaControls?
string
Sets the aria-controls attribute of the DateInput.
ariaDescribedBy?
string
Sets the id values of the elements that describe the DateInput, similar to the HTML aria-describedby attribute.
For example, these elements can contain an error or a hint message.
ariaExpanded?
boolean
Sets the aria-expanded attribute of the DateInput.
ariaHasPopup?
String
Sets the aria-haspopup attribute of the DateInput.
ariaLabel?
string
Sets the aria-label attribute of the DateInput.
ariaLabelledBy?
string
Sets the id values of the elements that label the DateInput.
ariaRole?
string
Sets the ARIA role of the DateInput.
defaultValue?
Date
Sets the initial value of the DateInput when you do not set value.
dir?
string
Sets the dir HTML attribute.
disabled?
boolean
When you set it to true, the DateInput is disabled (see example).
false
fillMode?
string
Configures the fillMode of the DateInput.
The available options are:
- solid
- outline
- flat
- link
- null—Does not set a fillMode
class.
solid
format?
string | DateFormatOptions
Sets the date format of the value (see example). If you do not set it, the DateInput uses the default format.
Sets the descriptions of the format sections in the input field (more information and example).
id?
string
Sets the id of the input DOM element. The floating label uses it to point to the input.
inputAttributes?
Object
Sets the built-in HTML attributes of the inner focusable input element.
You cannot change the attributes that the component needs to work.
label?
string
Renders a floating label for the DateInput.
max?
Date
Sets the latest valid date (see example).
maxTime?
Date
Sets the latest valid time (see example).
min?
Date
Sets the earliest valid date (see example).
minTime?
Date
Sets the earliest valid time (see example).
name?
string
Sets the name property of the input DOM element.
onChange?
(event: any) => void
Fires when the user edits the value. The event name is change (see example).
placeholder?
string
Sets the placeholder text of the DateInput.
required?
boolean
Sets whether null is a valid value for the component.
rounded?
string
Configures the roundness of the DateInput.
The available options are:
- small
- medium
- large
- circle
- full
- null—Does not set a rounded
class.
medium
size?
"small" | "medium" | "large"
Configures the size of the DateInput.
The available options are:
- small
- medium
- large
- null—Does not set a size
class.
medium
spinners?
boolean
When you set it to true, the DateInput shows the Up and Down spin buttons (see example).
false
Sets the incremental steps of the DateInput (see example).
The available options are:
year: Number—Controls the incremental step of the year value.month: Number—Controls the incremental step of the month value.day: Number—Controls the incremental step of the day value.hour: Number—Controls the incremental step of the hour value.minute: Number—Controls the incremental step of the minute value.second: Number—Controls the incremental step of the second value.
tabIndex?
number
Sets the tabIndex property of the DateInput.
title?
string
Sets the title of the input element of the DateInput.
valid?
boolean
Overrides the validity state of the component.
When you set valid, the component ignores the required property.
validate?
boolean
Sets whether the DateInput validates its value.
validationMessage?
string
Sets the form error message of the component. If you set it to an empty string, the component shows no error.
validityStyles?
boolean
Shows or hides the invalid state styles of the component. When you set it to false, the component shows no invalid state styles.
value?
Date
Sets the value of the DateInput.
width?
string | number
Sets the width of the DateInput.