Skip to components
DEVELOPER REFERENCE · v4.0.0

TemporalPicker API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

TemporalPicker17 props3 callbacks0 methods

Props17

TemporalPicker props
NameTypeDescription
valueRequired
TemporalControlValueInspect type
Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
kindOptional
LocalDateControlKind | undefinedInspect type
Date/time value kind handled by the temporal control.
dateInputOptional
boolean | DateInputOptions | undefinedInspect type
Typed date entry is enabled by default; false retains calendar-only controls.
selectionOptional"multiple" | "range" | "single" | undefinedCurrent selected date/range, or the selection mode where the declared type is a mode string.
calendarOptional
TemporalCalendarOptions | undefinedInspect type
Calendar presentation, navigation and selection options for the temporal picker.
requiredOptionalboolean | undefinedRequires a non-empty value or selection before the edit can be accepted.
minTimeOptionalstring | undefinedEarliest permitted time, expressed in the control time format.
maxTimeOptionalstring | undefinedLatest permitted time, expressed in the control time format.
timeStepOptionalnumber | undefinedStep between selectable times in seconds; defaults to 60 for minute precision or 1 for second precision.
precisionOptional"minute" | "second" | undefinedIncludes minutes only or also exposes seconds.
timeFormatOptional"locale" | "12h" | "24h" | undefinedUses locale-default, explicit 12-hour or explicit 24-hour time presentation.
textOptional
Partial<TemporalPickerText> | undefinedInspect type
Display text or localized text overrides; expand the type when this prop accepts an object.
actionsOptional
Partial<EditorActionText> | undefinedInspect type
Actions rendered by this component, or action-label overrides for editor fields; expand the declared type.
classNamesOptional
{ endpoints?: string; } | undefinedInspect type
Endpoint-only adjustment, for the existing Timeline end-arrow interaction.
endpointOptional"from" | "to" | undefinedRange endpoint being edited, from or to.
autoApplyOptionalboolean | undefinedApply completed edits automatically. Set false to require explicit Apply.
showActionsOptionalboolean | undefinedShow Apply/Cancel buttons. Defaults to true only when autoApply is false.

Events and callbacks3

TemporalPicker events and callbacks
NameTypeDescription
onChangeRequired
(value: TemporalControlValue) => voidInspect type
Receives the new value when the user changes the control. Update the corresponding value prop for controlled use.
onValidityChangeOptional
((valid: boolean) => void) | undefinedInspect type
Receives true or false when the validity of the current input changes.
onSelectionCompleteOptional
((value: TemporalControlValue) => void) | undefinedInspect type
Complete calendar selection, distinct from an in-progress keyboard draft.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.