kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
84 stars 22 forks source link

[COMPONENT] Create DateRange component #3236

Open NillerW opened 1 year ago

NillerW commented 1 year ago

Describe the solution you'd like

There should be a date range component, that allows selecting a from and to date, but works as one input regarding validation and return value.

Implementation wise there are the following requirements:

Business-logic wise there are the following requirements:

The implementation should account for the future enhancement of a custom date range picker, which will then replace the two separate native date pickers on date components when used in the context of date range component. E.g. a snake trail between from and to.

Have you considered any alternatives?

Currently two separate dates can be used, but we're not getting the shared validation and user experience from this solution.

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Refinement

Implementation

The contributor who wants to implement this issue should:

Review

Once the issue has been implemented and is ready for review:


stale[bot] commented 1 week ago

This issue has been automatically marked as stale because of no recent activity. It will be closed in 10 weeks if no further activity occurs. Thank you for your contributions.