Axon 911 Frontend DocsAxon 911 Frontend Docs
Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Calendar
  2. Advanced Date Time Range Picker
  3. API and Development

Date and time

API and Development

View SourceOpens in a new tabSubmit IssueOpens in a new tab
One instant is DateTimeInput from @prepared911/ui/date-time-input. A span of days is DateRangeInput. There is no before/after/between picker and no separate time-range field on the date control.
Props
PropMeaning
labelRequired name of the group.
value / defaultValueA Date instant, or null.
onValueChangeNext instant and details.reason.
timeZoneIANA zone the segments read and write.
min / max / disableFutureBounds on the instant.
hourCycle24-hour unless you opt into 12-hour or 11-hour.
stepMinutes between times in the list.
confirmRequires applyLabel and resetLabel. Reset restores the draft and stays open. Escape and an outside press close without committing.
Import
Previous
Advanced Date Time Range Picker / Usage
Next
Advanced Date Time Range Picker / Accessibility
On this page
Props
Import