influxdata / influxdata/clockface
fix: date time range picker prevent invalid input
Open
Medium Priority
- Dominant language
- TypeScript
- Stars
- 46
- Forks
- 18
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 1
Description
We need the following enhancements to the date picker
- Default time format with the ability to override with a custom time format
- Don't allow submissions unless the start and end dates and times are valid [start dateTime has to be before end dateTime]
- Update the input field with the selected date from the picker
- Disable the submissions when the input field is invalid.
- Only enable submissions when the dates are changed, so user can safely cancel the operation without feeling like they accidentally changed the date-window.
- better error messages [`format must be ...`]

Contributor guide
Assessment
This issue has not been assessed yet.