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

Date and time

API and Development

View SourceOpens in a new tabSubmit IssueOpens in a new tab
DateTimeInput from @prepared911/ui/date-time-input collects one instant. A read-only trigger shows the value in the locale's date and time format. A popover holds the calendar, a list of times beside it, and Reset, Clear and Apply; a press in the popover changes a draft until Apply, and there is no confirm prop. The value is a Date. timeZone names the zone the value is read and written in; the trigger does not show it. The component does not convert through a helper in the app; pass the zone on the field.
Import
Example
Previous
Date Time Picker / Usage
Next
Date Time Picker / Accessibility
On this page
Import
Example