DatePickerPanel beta

DatePickerPanel is the core component of DatePicker.

Introducir fecha

Selector de fecha básico medido por 'día'.

2025 October
SunMonTueWedThuFriSat
28
29
30
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
7
8

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 October
SunMonTueWedThuFriSat
28
29
30
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
7
8
2025 October
SunMonTueWedThuFriSat
28
29
30
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
7
8

Deshabilitar

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

Disabled
2025 October
SunMonTueWedThuFriSat
28
29
30
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
7
8

Tipos

The measurement is determined by the type attribute.

Type:
2025 October
SunMonTueWedThuFriSat
28
29
30
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
7
8

Localización

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

Personalizable

NombreDescripciónParámetrosValore por defecto
model-value / v-modelbinding value, if it is an range picker, the length of the array should be 2number / string / Date / array''
borderwhether the date picker is borderedbooleantrue
disabledsi DateTimePicker está deshabilitadobooleanfalse
clearablesi desea mostrar el botón de borrarbooleantrue
tipotipo del selectorenumdate
default-valueopcional, fecha por defecto del calendarioobject
default-timeopcional, el valor de la hora a usar al seleccionar el rango de fechasobject
value-formatopcional, formato del valor enlazado. Si no está especificado, el valor enlazado será un objeto Datestring
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-panelsdesvincula los dos paneles de fecha en el selector de rangobooleanfalse
disabled-dateuna función que determina si una fecha está desactivada con esa fecha como parámetro. Debe devolver un booleanoFunction
shortcutssi se debe disparar la validacionobject[]
cell-class-nameestablece nombre de clase personalizadoFunction
show-footerwhether to show footer where the date picker is one enumbooleanfalse
show-confirmwhether to show the confirm buttonbooleanfalse
show-week-numbershow the week number besides the weekbooleanfalse

Slot

NombreDescripciónParámetros
calendar-changese dispara cuando se cambia la fecha del calendario. Only for rangeFunction
panel-changese dispara cuando se hace clic en el botón de navegación.Function

Slots

NombreDescripción
por defectocontenido personalizado de la celda
prev-monthprev month icon
next-monthnext month icon
prev-yearprev year icon
next-yearnext year icon

Fuente

ComponentesStyleDocumentación

Contribuidores