Skip to content
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

[Bug Report][3.6.10] VDatePicker range option returns too many dates #20068

Open
Ploud42 opened this issue Jun 27, 2024 · 0 comments
Open

[Bug Report][3.6.10] VDatePicker range option returns too many dates #20068

Ploud42 opened this issue Jun 27, 2024 · 0 comments

Comments

@Ploud42
Copy link

Ploud42 commented Jun 27, 2024

Environment

Vuetify Version: 3.6.10
Vue Version: 3.4.30
Browsers: Chrome 126.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

Select two dates more than one day apparts

Expected Behavior

You should get the start and end dates only.
It is also in line with the material design discussed here #19428.

Actual Behavior

The result includes intermediate dates. If you select January 1 and then December 31 you end up with and array of 365 elements when you only really need 2.

Reproduction Link

https://play.vuetifyjs.com/#...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant