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

Year selection for the date picker component #1996

Closed
elielgomes opened this issue Nov 22, 2023 · 7 comments
Closed

Year selection for the date picker component #1996

elielgomes opened this issue Nov 22, 2023 · 7 comments
Labels

Comments

@elielgomes
Copy link

image

It is not possible to easily and quickly select previous years; to do so, we must paginate through all previous months until reaching the desired year. I suggest adding a year-select dropdown or an open field for this purpose.

@nahidhasan141400
Copy link

@shadcn let's add this future in date picker

@triadmoko
Copy link

triadmoko commented Nov 23, 2023

up, this is good idea

@itsmingjie
Copy link

Agreed on this and another potential solution to this would be #448. This issue may be marked as duplicate of that.

@elielgomes
Copy link
Author

@itsmingjie The provided solution is not optimized and does not improve usability; it addresses the problem but not with 100% effectiveness.

@itsmanoharkumar
Copy link

I found this prop captionLayout={'dropdown'} which give you option to select month and year

@CesarQD98
Copy link

I found this prop captionLayout={'dropdown'} which give you option to select month and year

Are the curly braces necessary?

@shadcn
Copy link
Collaborator

shadcn commented Mar 2, 2024

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

@shadcn shadcn closed this as completed Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants