TemporalPicker API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
TemporalPicker17 props3 callbacks0 methods
Props17
| Name | Type | Description |
|---|---|---|
valueRequired |
| Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted. |
kindOptional |
| Date/time value kind handled by the temporal control. |
dateInputOptional |
| Typed date entry is enabled by default; false retains calendar-only controls. |
selectionOptional | "multiple" | "range" | "single" | undefined | Current selected date/range, or the selection mode where the declared type is a mode string. |
calendarOptional |
| Calendar presentation, navigation and selection options for the temporal picker. |
requiredOptional | boolean | undefined | Requires a non-empty value or selection before the edit can be accepted. |
minTimeOptional | string | undefined | Earliest permitted time, expressed in the control time format. |
maxTimeOptional | string | undefined | Latest permitted time, expressed in the control time format. |
timeStepOptional | number | undefined | Step between selectable times in seconds; defaults to 60 for minute precision or 1 for second precision. |
precisionOptional | "minute" | "second" | undefined | Includes minutes only or also exposes seconds. |
timeFormatOptional | "locale" | "12h" | "24h" | undefined | Uses locale-default, explicit 12-hour or explicit 24-hour time presentation. |
textOptional |
| Display text or localized text overrides; expand the type when this prop accepts an object. |
actionsOptional |
| Actions rendered by this component, or action-label overrides for editor fields; expand the declared type. |
classNamesOptional |
| Endpoint-only adjustment, for the existing Timeline end-arrow interaction. |
endpointOptional | "from" | "to" | undefined | Range endpoint being edited, from or to. |
autoApplyOptional | boolean | undefined | Apply completed edits automatically. Set false to require explicit Apply. |
showActionsOptional | boolean | undefined | Show Apply/Cancel buttons. Defaults to true only when autoApply is false. |
Events and callbacks3
| Name | Type | Description |
|---|---|---|
onChangeRequired |
| Receives the new value when the user changes the control. Update the corresponding value prop for controlled use. |
onValidityChangeOptional |
| Receives true or false when the validity of the current input changes. |
onSelectionCompleteOptional |
| Complete calendar selection, distinct from an in-progress keyboard draft. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.