Skip to main content
Version: Next

Date Picker

A date, date-range or time picker. The usual source of the start and end parameters that drive historical charts and reports.

The Date Picker component as it renders with its default settings.The Date Picker component as it renders with its default settings.

Reach for it when you need:

  • The time range on a reporting screen
  • A date field inside a Form

Component name: DatePicker · Category: Input

In the palette: Date, date-range, or time picker

Properties

Any property can be bound to a tag, another component's property, or a query.

PropertyTypeDefaultDescription
valueunion""Single/time → a date string; range → { start, end }. Reflects the selection, and bindable.
modeenumsingleSingle date, start→end range, or time-only (no date). Options: single · range · time.
withTimebooleanfalseInclude a time picker alongside the date (single / range).
placeholderstring""
clearablebooleanfalseShow a × button to clear the value.
titlestringDate
showTitlebooleantrue
titleSizenumber13
shadowbooleantrueShow a subtle drop-shadow on the trigger. Turn off for a flat look.
disabledbooleanfalse
stylestyle{}Custom CSS properties

Events

Attach event actions to these in the Event Manager.

EventLabelGroupPayload
clickClickMouseThe DOM event.
dblclickDouble clickMouseThe DOM event.
contextmenuRight clickMouseThe DOM event.
mouseenterMouse enterMouseThe DOM event.
mouseleaveMouse leaveMouseThe DOM event.
changeChangeInputThe DOM event.
submitSubmitInputThe DOM event.
focusFocusInputThe DOM event.
blurBlurInputThe DOM event.
Right-click behaves differently in the Designer

contextmenu fires your configured actions at runtime only — in LiveView and in preview. On the Designer canvas the right-click is captured to open the Event Manager, so testing it there will not run your actions. Test right-click in preview.