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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use dropdowns for selecting month, instead of next and previous #2632

Open
nyolamike opened this issue Nov 22, 2023 · 0 comments
Open

Comments

@nyolamike
Copy link

Use a dropdown to select months.

Our Q.A team requested that our app users, want to use a dropdown when selecting months.
Its faster and easier compared to clicking next/previous buttons while navigating

Expected Behavior 馃

When one passes a flag e.g useSelectMonthDropdown in the date picker.

We render a dropdown of the twelve months instead of using the previous and next options.

Context 馃敠

Our uses use the date picker alot, but navigating by clicking next takes along time to get to the month one desires

Describe the solution you'd like

We add a property to the datepicker that is passed to the calender to render a dropdown of months

Describe alternatives you've considered

I was considering installing a datepicker that has this capability but then styling it to look the same is actually much harder, than implementing the dropdown

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

1 participant