DateRangePicker
Represents the Kendo UI for Vue DateRangePicker component. Use the DateRangePicker to let the user type or select a start date and an end date.
Definition
Package:@progress/kendo-vue-dateinputs
Properties Interface:DateRangePickerProps
Syntax:
<DateRangePicker :default-value="{ start: new Date(2026, 0, 5), end: new Date(2026, 0, 12) }" :format="'dd/MM/yyyy'" />
Properties
allowReverse?
boolean
When you set allowReverse to true, the DateRangePicker does not check whether the start date is after the end date (see example).
If you set the
calendarSettingsproperty, itsallowReversetakes precedence.
false
ariaDescribedBy?
string
Sets the id values of the elements that describe the DateRangePicker, similar to the HTML aria-describedby attribute.
For example, these elements can contain an error or a hint message.
ariaLabelledBy?
string
Sets the id values of the elements that label the DateRangePicker.
calendar?
any
Lets you customize or replace the default Calendar of the DateRangePicker.
Sets the additional props that the DateRangePicker passes to the MultiViewCalendar inside it (see example).
defaultShow?
boolean
Sets whether the popup of the DateRangePicker is open on the first render (see example).
false
Sets the initial value of the DateRangePicker when you do not set value (see example).
disabled?
boolean
When you set it to true, the DateRangePicker is disabled (see example).
false
Lets you customize or replace the default end DateInput of the DateRangePicker (see example).
Sets the additional props that the DateRangePicker passes to the end-date DateInput (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
Sets the focused date of the DateRangePicker (see example).
format?
string | DateFormatOptions
Sets the date format of the DateInput values (see example).
If you set
startDateInputSettingsorendDateInputSettings, theirformattakes precedence.
'd'
id?
string
Sets the id of the DateRangePicker.
inputAttributes?
Object
Sets the built-in HTML attributes of the inner focusable input elements.
You cannot change the attributes that the component needs to work.
max?
Date
Sets the latest valid date (see example).
min?
Date
Sets the earliest valid date (see example).
onBlur?
(event: any) => void
Fires each time any element of the DateRangePicker loses focus. The event name is blur.
onChange?
(event: DateRangePickerChangeEvent) => void
Fires each time the user selects a part of a date range. The event name is change (see example).
onFocus?
(event: any) => void
Fires each time the user focuses any element of the DateRangePicker. The event name is focus.
popup?
any
Lets you customize or replace the default Popup of the DateRangePicker (see example).
Sets the additional props that the DateRangePicker passes to the Popup inside it (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
Sets whether the DateRangePicker shows the Calendar (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
Lets you customize or replace the default start DateInput of the DateRangePicker (see example).
Sets the additional props that the DateRangePicker passes to the start-date DateInput (see example).
swapButton?
boolean
When you set it to true, the DateRangePicker shows a Swap Value button (see example).
The DateRangePicker shows the swap button only if you also set the
allowReverseproperty totrue.
false
tabIndex?
number
Sets the tabIndex property of the DateRangePicker.
valid?
boolean
Overrides the validity state of the DateRangePicker.
If you set valid, the DateRangePicker ignores the required property.
Sets the selected date range of the DateRangePicker (see example).
The
valuemust be an object withstartandendproperties. Each one is a valid JavaScriptDateinstance ornull.