KryptXBSA/FormBuilder

Feature Request : The calendar control to have a way to select month and year

Opened this issue · 2 comments

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.

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].

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.