Skip to content

Select minimum range in ngx bootstrap date range picker #6438

Open
@AshwinVoiro

Description

@AshwinVoiro

I can see that there is a property called maxDateRange to restrict to not be able to select more than that after selecting first date.
But I dont see an option like minDateRange to restrict to select only after certain days after selecting first date.

Eg: minDateRange - 5. The user selected 6th March 2022 as first date then the next 5 days should be disabled and the user should be able to select dates past 11th March 2022.

Currently as an alternative, I am letting my user select the date and show validation if the difference is less than 5 days.
It would be really great to have this feature as I have this scenario in a lot of places with different minimum range.
Thanks.

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