Date Picker

The e-date-picker component handles day, month, and year selection with keyboard-friendly navigation, controlled view state, highlighted ranges, and disabled-date rules.

Use this page to validate scheduling flows, compare navigation modes, and wire constrained date selection into production forms with predictable behavior.

Usage

Explore how color, elevation, landscape, grid-button-elevation, and no-title shape Date Picker, and preview their combined effect before applying the configuration in your interface.

2026
fri, aug. 14
MoTuWeThFrSaSo
primary

Disabled and highlighted dates

Use disabled rules to prevent unavailable dates from being selected, and highlighted rules to emphasize important dates or scheduling windows without blocking them.

Blocked scheduling rules

Blocks weekends and August 20-25.

2026
fri, aug. 14
MoTuWeThFrSaSo

Visible scheduling windows

Marks releases and the approval window.

2026
fri, aug. 14
MoTuWeThFrSaSo

Internationalization

Use lng to render calendar labels, month names, and weekdays in a language that differs from the application's global locale.

Spanish calendar

Calendar labels and month names are displayed in Spanish.

2026
vie, ago 14
Lumamijuvido

French calendar

Calendar labels and month names are displayed in French.

2026
ven, aout 14
lumamejevesadi

Integration

Combine Date Picker with a read-only ETextfield and display it in an EDialog or EMenu. The close-on-change prop closes the active surface after selection.

Props

Use the API table as the source of truth for accepted types, defaults, and the main scheduling behaviors exposed by Date Picker.

PropertyTypeDefault
modelValueDate | stringundefined

Current selected date value. Accepts Date or a date-like string that can be normalized by the component.

viewdatePickerViewTypeundefined

Controls the active navigation depth. Pair with update:view for a fully controlled picker.

disabled / highlightedDatesConfigurationundefined / undefined

Date configuration objects used to block selection and emphasize important dates or ranges.

weekStartnumber1

Sets the first visible day of the week, where 0 is Sunday and 1 is Monday.

formatstringundefined

Custom header format token string used for the main title date output.

lngsuportedLngglobal locale

Overrides the locale used to resolve month and weekday names for this picker instance.

landscapebooleanfalse

Switches the picker to its horizontal landscape layout.

noTitlebooleanfalse

Hides the upper title block that displays the selected year and formatted date.

onlyMonth / onlyYearbooleanfalse / false

Restricts navigation to month-only or year-only selection flows.

closeOnChangebooleanfalse

Closes the surrounding dialog or menu container immediately after a valid selection.

iconPrev / iconNextstring | IconPath | IconPath[]undefined

Replaces the previous and next navigation icons in the header.

colorstring"primary"

Base semantic color applied to selected and highlighted picker states.

elevation / gridButtonElevationElevationLevelundefined / undefined

Applies elevation to the picker surface and selected grid buttons.