Skip to content

[FEATURE]: Select Disabled Dates When in "multiple-range" Mode #370

@GibzClt

Description

@GibzClt

Forked from #369

I'm not sure if this feature already exists, at least I'm not able to find it in the docs.
I have a scenario of a trip days calendar where some dates are disabled because no flights are available on those particular days. When I keep the mode as 'multiple-range" and select a range which includes disabled dates (but the start data and end date are not disabled), the selection looks like a "multiple" select rather than a "multiple-range".
Ideally when we only get the edge dates, the selection should show the disabled dates as selected too if it is within the range

Before selection (to show the disabled dates)
Image

After selecting a range which includes disabled dates
Image

Also attaching a codepen for demonstrating the issue
https://codesandbox.io/p/sandbox/sparkling-glade-88xfzk

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions