Able to choose year and month in DatePicker and DateRangePicker component. #1176
eonwy
started this conversation in
Feature Requests / Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature in detail (code, mocks, or screenshots encouraged)
In the bits-ui DatePicker and DateRangePicker components, there's currently no way to select specific years and months.


This makes it inconvenient for users who need to choose dates far from the current date. So could we add a feature to customize year and month selection?
If I could I'd like to implement this by making the
<DatePicker.Heading />
clickable.When clicked, it should display a collection of years
like this.
After selecting a year, it should then show a collection of months
like this.
PS. The component design doesn't need to match my example exactly. I just need functionality that allows users to select both year and month. And also I got those images by https://air-datepicker.com/
I'll be happy to implement this feature, but first I'd like to get your feedback.
Beta Was this translation helpful? Give feedback.
All reactions