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

[Feature request] Open datepicker with year selection #394

Closed
augnustin opened this issue Dec 10, 2019 · 6 comments
Closed

[Feature request] Open datepicker with year selection #394

augnustin opened this issue Dec 10, 2019 · 6 comments

Comments

@augnustin
Copy link

I randomly found about the possibility to select the year by clicking on it, showing this screen:

image

Is it possible to open the datepicker with this view by default with props?

Indeed, when it is about birth dates, having to click back to 30-50 years is a wonderful pain while this screen makes it acceptable.

Couldn't find any reference in the doc for this.

@mengxiong10
Copy link
Owner

I'll add prop to support it.

@augnustin
Copy link
Author

Looking forward! Do you want me to PR this? As for me the sooner the better. 😄

@mengxiong10
Copy link
Owner

PR welcome.

mengxiong10 added a commit that referenced this issue Dec 19, 2019
@mengxiong10
Copy link
Owner

v3.3.0 add the default-panel.

<date-picker default-panel="year" />

@augnustin
Copy link
Author

You rock my world!

@mrkaluzny
Copy link

We should add it to documentation!

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

No branches or pull requests

3 participants