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 : The calendar control to have a way to select month and year #7

Open
abyshekhar opened this issue Apr 8, 2024 · 2 comments

Comments

@abyshekhar
Copy link

abyshekhar commented Apr 8, 2024

Feature Request : Right now if we need to select a date of birth say 01/01/1980 we will have to click on the previous month arrow a lot number of times until we reach the expected date to be selected.

There should a provision to select any month and any year in the past by having month and year view in the calendar.

@abyshekhar abyshekhar changed the title The calendar control to have a way to select month and year Feature Request : The calendar control to have a way to select month and year Apr 8, 2024
@abyshekhar
Copy link
Author

After some research found that there is an issue open in shadcn for the same feature and there is a workaround to select year.

We can select the year through keyboard shortcuts. On windows press [Shift + Page Up/Down] and for macs [Shift + fn + Up/Down arrow keys].

@KryptXBSA
Copy link
Owner

KryptXBSA commented Apr 9, 2024

Thanks for the feature request, @abyshekhar!

I'm planning on adding Known Issues page to keep users informed about any limitations within shadcn/ui that they might encounter, the page will contain the issue description, workarounds and a reference to the issue on shadcn/ui

At the moment, the identified issues are:

  • The issue with the calendar/datepicker component, that you've mentioned
  • And the cmdk issue

It's important to us to maintain 100% compatibility with shadcn/ui. We'll continue to use their base components for the time being, and avoid introducing custom components at least for now.

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

2 participants