DatePickerPanel beta

DatePickerPanel is the core component of DatePicker.

Enter Date

Basic date picker measured by 'day'.

2025 August
SunMonTueWedThuFriSat
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6

Border

By default the date-picker-panel is bordered but in some case you don't want it. For example DatePicker don't inherit border.

No border:
2025 August
SunMonTueWedThuFriSat
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
2025 August
SunMonTueWedThuFriSat
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6

Disabled

The disabled attribute determines if the date picker is fully disabled.

Disabled
2025 August
SunMonTueWedThuFriSat
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6

Types

The measurement is determined by the type attribute.

Type:
2025 August
SunMonTueWedThuFriSat
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6

Localization

The default locale of is English, if you need to use other languages, please check Internationalization

Note, date time locale (month name, first day of the week ...) are also configured in localization.

API

Attributes

NameDescriptionTypeDefault
model-value / v-modelbinding value, if it is an array, the length should be 2number / string / object''
borderwhether the date picker is borderedbooleantrue
disabledwhether DatePicker is disabledbooleanfalse
clearablewhether to show clear buttonbooleantrue
typetype of the pickerenumdate
default-valueoptional, default date of the calendarobject
default-timeoptional, the time value to use when selecting date rangeobject
value-formatoptional, format of binding value. If not specified, the binding value will be a Date objectstring
date-formatoptional, format of the date displayed in input's inner panelstring see date formatsYYYY-MM-DD
time-formatoptional, format of the time displayed in input's inner panelstring see date formatsHH:mm:ss
unlink-panelsunlink two date-panels in range-pickerbooleanfalse
disabled-datea function determining if a date is disabled with that date as its parameter. Should return a BooleanFunction
shortcutsan object array to set shortcut optionsobject[]
cell-class-nameset custom classNameFunction
show-footerwhether to show footerbooleanfalse
show-confirmwhether to show the confirm buttonbooleanfalse
show-week-numbershow the week number besides the weekbooleanfalse

Events

NameDescriptionType
calendar-changetriggers when the calendar selected date is changed. Only for rangeFunction
panel-changetriggers when the navigation button click.Function

Slots

NameDescription
defaultcustom cell content
prev-monthprev month icon
next-monthnext month icon
prev-yearprev year icon
next-yearnext year icon

Source

ComponentStyleDocs

Contributors