svelte-calendar icon indicating copy to clipboard operation
svelte-calendar copied to clipboard

Feature: Select Range

Open bhison opened this issue 5 years ago • 4 comments

A fairly common functionality in date selectors is the ability to define a selected date-range by first clicking one date to set a start date and then click another to set and end date. This is then shown as a continuous highlight between dates in the selected range on the same row.

bhison avatar Feb 15 '20 19:02 bhison

I was just about to create an issue with exactly the same request.

itay-grudev avatar Feb 16 '20 02:02 itay-grudev

Hey! There's already a PR on this by me: #60 (and kind of an issue based on this #58 ) . It's not merged in yet because of some issues and requirements from the owner, but I believe it's functioning at this state (except for the month selector when choosing the last month). Feel free to grab it and do as you please!

Grotlo avatar Feb 17 '20 12:02 Grotlo

I was thinking of making a PR myself. Thank you for the heads up.

itay-grudev avatar Feb 17 '20 15:02 itay-grudev

@itay-grudev If you are able to help with the final issue (month selector) then it might put the PR in a good state to merge in.

antony avatar Mar 05 '20 13:03 antony