influxdata / influxdata/clockface

fix: date time range picker prevent invalid input

Open
#608 1 comment 0 reactions 1 assignee Claimed by @ChitlangeSahas View on GitHub
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 ...`]

Screen Shot 2021-04-01 at 9 56 11 PM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.