heysupratim / material-daterange-picker

A material Date Range Picker based on wdullaers MaterialDateTimePicker
Apache License 2.0
1.33k stars 266 forks source link

The user should not be able to select a "FROM" date before the "TO" date #53

Closed deepwritescode closed 8 years ago

deepwritescode commented 8 years ago

When the user selects a date from the "FROM" tab, that date should be the maximum date so when the user clicks on the "TO" tab the date will be greater than or equal to the date in the "FROM" tab.

ex) if the user selects 10/11/16 in the "FROM" tab, the user should not be able to select a date earlier than that in the "TO" tab

heysupratim commented 8 years ago

I have left those implementation logic to everyone's usage. Because this manner there are many conditional checks that can be possibly implemented