Skip to content

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

@nyolamike

Description

@nyolamike

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions