Kumar-Aakash / ng-material-date-range-picker

MIT License
12 stars 6 forks source link

Not able to clear selection or reset calendar #16

Closed ssarya closed 5 months ago

ssarya commented 8 months ago

Can we add a functionality to clear date range section on clicking a button like below screen

2024-03-27_11-44-56

We need to clean input field as well as dates in the calendar as well or we can say resetting the calendar to its default settings.

Kumar-Aakash commented 8 months ago

Hi @ssarya Yeah, I might need to think of a few scenarios around it and get back on this but this can be marked as an enhancement.

I will update here once this is available in the next version. The target should be this week.

Thank you again for using this library. :)

Kumar-Aakash commented 7 months ago

This issue PR work is in progress. It should have few more features including the clear selection.

tomgruszowski commented 6 months ago

@Kumar-Aakash is there a way to clear the selection programmatically in the current version?

Kumar-Aakash commented 5 months ago

@ssarya @tomgruszowski

you may find clear date range functionality on below version: V16 : 1.2.10 V17 : 2.2.4

ssarya commented 5 months ago

Thanks Aakash