How to set default year/month in year/month selector in Date Picker? #3897
Unanswered
anatolyeltsov
asked this question in
Q&A
Replies: 1 comment 2 replies
-
https://codesandbox.io/s/suspicious-yalow-wrqzsm?file=/src/Demo.vue |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to do so?
For example: I want users to enter their birthday and my target audience is about 30 years old so it would be better if they could start selecting not from current year and month (2022/10) but from 1990/01 for example. And as of now the year and month in selector are always current year and month if current value is not yet set.
There is a
default-time
prop for DateTime and DateTimeRange components - maybe it would be nice to have a default-date for Date/DateRange too?Any suggestions?
UPD: I want an input itself to be empty on init load
Beta Was this translation helpful? Give feedback.
All reactions