Skip to content

default range in quick Select ranges #6411

@pavankramadugu

Description

@pavankramadugu

Hello there, team. While working on a feature for my app, I noticed something in the datepicker.

When we select a date range, it would be helpful if we could highlight the same button if the range exists. If we select the same date range of last 7 days as shown in the screenshots below, the last 7 days label should be highlighted.

image

image

Consider this example: https://fetrarij.github.io/ngx-daterangepicker-material/custom-ranges

image

Here even if we manually select dates, if those dates match any range, they are highlighted.

Is there a way to do it for the time being in the current implementation? I've tried changing the classnames, but every time I do, the component is re-rendered and overriding my class names.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions