DateTime Range Field
Segmented start/end datetime input bound to DateTimeRange.
DateTimeRangeField renders two DateTimeField segment groups separated by an en-dash. See the crate README for range control selection.
- Forms that need typed date+time on both endpoints without popover panels
- Accessibility-first flows where segmented fields beat mouse-driven pickers
- Bind
Option<DateTimeRange>throughDateTimeRangeFieldBind. - Configure
DateTimeRangeFieldAppearancefor date and time format independently. - Wrap in
DatetimeLocalefor default timezone.
Datetime range field –
Default US date + 12-hour time segments with bind readout.
none
ISO date and 24-hour time –
Year-month-day segments with 24-hour hour/minute endpoints.