Date Time Picker

DateTimePicker component for selecting date and time, with support for clearing, disabling, and error indication.

Date Time Picker

DateTimePicker component for selecting date and time, with support for clearing, disabling, and error indication.

Usage Examples

300px

Clearable Example

300px

Disabled Example

300px

Error Example

300px

Range Example

300px

Properties

PropertyBasic component module for translation keys shared across all component documentation pagesTypeDefault
modelValueValue of the component, can be a Date object, ISO date string, or nullDate, String, nullnull
clearableWhether to show a clear button, allowing users to empty the selected valueBooleantrue
disabledWhether the component is disabled, preventing user interactionBooleanfalse
errorWhether to show an error state, can be a boolean or an error message stringBoolean, Stringfalse
errorMessageError message to display when error is trueStringPlease enter a valid date and time
formatOutput format for the date and time, defaults to ISO formatStringISO
minMinimum selectable date, dates before this will be disabledDate, Stringnull
maxMaximum selectable date, dates after this will be disabledDate, Stringnull

Events

EventBasic component module for translation keys shared across all component documentation pagesParameters
update:modelValueEmitted when the component value changes
value: String, null
Updated date time value, as ISO string or null
changeEmitted when the user changes the date
date: Date, null
Updated date time, as Date object or null
Design Empowers, Innovation Unlimited