greenforce-frontend icon indicating copy to clipboard operation
greenforce-frontend copied to clipboard

Date / daterange "stepper"

Open frontend-specialisten opened this issue 2 years ago • 2 comments

Version 0.1

  • Toggle between day/whole period
  • Keyboard shortcuts left/right?

Version 0.2

image.png

Acceptance Criteria

  • [ ] Implement stepper for date-range input
  • [ ] Steps should be configurable (day, month, year)
  • [ ] Should be showcased and documented in storybook
  • [ ] Change of "step" overrides existing input and uses a current day, week, month etc.
  • [ ] If input becomes "dirty", stepper should be disabled, can be enabled by clicking on one of the "steps" again.

Tech notes Should it be an existing date-range component with steps=true or it's own component?

frontend-specialisten avatar Aug 19 '22 11:08 frontend-specialisten