DateRangePickerProps
Represents the props of the Kendo UI for Vue DateRangePicker component.
Definition
Package:@progress/kendo-vue-dateinputs
Properties
allowReverse?
boolean
If allowReverse is set to true, the component skips the validation of whether the from value is after the to value (see example).
If the
calendarSettingsproperty is set, itsallowReversewill take precedence.
ariaDescribedBy?
string
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.
ariaLabelledBy?
string
Identifies the element(s) which will label the component.
calendar?
any
Enables the customization or the override of the default Calendar which is rendered by the DateRangePicker.
Represents the additional props that can be passed to the MultiViewCalendar inside the DateRangePicker (see example).
defaultShow?
boolean
Sets the default state of the DateRangePicker upon render (see example).
Sets the default value of the DateRangePicker (see example).
disabled?
boolean
Determines whether the DateRangePicker is disabled (see example).
Enables the customization or the override of the default end DateInput which is rendered by the DateRangePicker (see example).
Represents the additional props that can be passed to the end-date DateInput inside the DateRangePicker (see example).
fillMode?
string
Configures the fillMode of the DateRangePicker.
The available options are:
- solid
- outline
- flat
- link
- null—Does not set a fillMode
class.
solid
focusedDate?
Date
Specifies the focused date of the DateRangePicker (see example).
format?
string | DateFormatOptions
Specifies the date format which is used for formatting the value of the DateInput (see example).
If
startDateInputSettingsorendDateInputSettingsare set, theirformatwill take precedence.
id?
string
Specifies the id of the DateRangePicker.
inputAttributes?
Object
Sets the built-in HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
max?
Date
Specifies the greatest valid date (see example).
min?
Date
Specifies the smallest valid date (see example).
onBlur?
(event: any) => void
Fires each time any of the DateRangePicker elements gets blurred.
onChange?
(event: DateRangePickerChangeEvent) => void
Fires each time the user selects a part of a date range (see example).
onFocus?
(event: any) => void
Fires each time the user focuses any of the DateRangePicker elements.
popup?
any
Enables the customization or the override of the default Popup which is rendered by the DateRangePicker (see example).
Represents the additional props that will be passed to the Popup inside the DateRangePicker (see example).
rounded?
string
Configures the roundness of the DateRangePicker.
The available options are:
- small
- medium
- large
- circle
- full
- null—Does not set a rounded
class.
medium
show?
boolean
Specifies if the calendar will be displayed (see example).
size?
"small" | "medium" | "large"
Configures the size of the DateRangePicker.
The available options are:
- small
- medium
- large
- null—Does not set a size
class.
medium
Enables the customization or the override of the default start DateInput which is rendered by the DateRangePicker (see example).
Represents the additional props that will be passed to the start-date DateInput inside the DateRangePicker (see example).
swapButton?
boolean
Determines whether the DateRangePicker will display a Swap Value button (see example).
The DateRangePicker will display the swap button only if the
allowReverseproperty is also set totrue.
tabIndex?
number
Sets the tabIndex property of the DatePicker.
valid?
boolean
Overrides the validity state of the component.
If valid is set, the required property will be ignored.
Specifies the selected date range of the DateRangePicker (see example).
The
valuehas to be an object withstartandendvalid JavaScriptDateinstances ornull.