Skip to content

Reselect startDate in the past with range picker #1114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Saltibarsciai opened this issue Apr 1, 2025 · 0 comments
Open

Reselect startDate in the past with range picker #1114

Saltibarsciai opened this issue Apr 1, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Saltibarsciai
Copy link

Saltibarsciai commented Apr 1, 2025

Is your feature request related to a problem? Please describe.
problem is old - stackoverflow https://stackoverflow.com/questions/75351327/vue-datepicker-range-in-back
The problem is that range picker tries to select dates in the past, when expectation is to allow selection only in future. Also when date in the past is clicked - startDate should be reselected and endDate to be selected

Describe the solution you'd like
after selecting startDate, dragging mouse in the past won't activate cells/turn them to be in-range, because then cells have a new color. Also when clicking day before selected startDate, restart the selection making new day in the past as startDate and endDate to be selected

Describe alternatives you've considered
Tried to play around with fixedStart, but it won't make dates in-range have different background color while hovering/choosing what to select

@Saltibarsciai Saltibarsciai added awaiting triage The issue is not reviewed by the maintainers enhancement New feature or request labels Apr 1, 2025
@Jasenkoo Jasenkoo removed the awaiting triage The issue is not reviewed by the maintainers label Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants