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.4.2] VDatePicker opens in current month even when min-date is in the future #18705

Closed
MelvinFrohike opened this issue Nov 16, 2023 · 2 comments
Labels
S: stale This issue is untriaged and hasn't seen any activity in at least six months. S: triage

Comments

@MelvinFrohike
Copy link

Environment

Vuetify Version: 3.4.2
Last working version: 2.7.1
Vue Version: 3.3.8
Browsers: Safari 17.1
OS: Mac OS 10.15.7

Steps to reproduce

As the playground link shows, opening a VDatePicker without a modelValue but a min-date that is in a future month, the current month is shown where nothing is selectable.
In Vuetify 2, it used to open in the month of the first selectable date.
I think the previous behavior was better as the user is not required to first move to the first selectable date.

Expected Behavior

Opens the picker in the month of the min date

Actual Behavior

Opens the picker in the current month

Reproduction Link

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

Other comments

Ideally, I would like a prop that defines a month to open the picker in. If a date is already set, it should of course open at that date

@vincentauger
Copy link
Contributor

Still a problem with 3.4.10. It defaults current date even with min prop set. Work-around suggested by @ae-meddeb does work.

@github-actions github-actions bot added the S: stale This issue is untriaged and hasn't seen any activity in at least six months. label Jul 10, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: stale This issue is untriaged and hasn't seen any activity in at least six months. S: triage
Projects
None yet
Development

No branches or pull requests

3 participants