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

Date range

API and Development

View SourceOpens in a new tabSubmit IssueOpens in a new tab
A start and end date is DateRangeInput from @prepared911/ui/date-range-input. There is no before/after/between mode enum. The calendar grid is Calendar; this field owns the popover.
Props
PropMeaning
labelRequired name of the group.
rangeLabelsStart and end, heard before the label.
segmentLabelsDay, month, and year for both ends.
calendarLabelThe button that opens the calendar.
value / defaultValue{ start, end } of local Dates, or null.
onValueChangeNext value and details.reason.
allowPartialRangeReports a range with null for an empty end.
minDate / maxDate / disableFutureBounds for both ends.
confirmRequires applyLabel and resetLabel.
Import
Example
Previous
Advanced Date Range Picker / Usage
Next
Advanced Date Range Picker / Accessibility
On this page
Props
Import
Example