I just want to disable the previous/past dates. I have gone through the doc but ihave not seen any option to disable Past/Previous dates dates
Firstly get today's date by,
````
import moment from 'moment';
..
class Mycal extends component
{..
const today = moment().format("YYYY-MM-DD");
..
}
Within Component Calendar you can add minDate prop as,
```
<Calendar
..
minDate={today}
/>
Yes, use the minDate property.
@anishtr4 - It's Not working I Wonder why people tell its working...

Below the code :
render() {
const today = moment().format("DD-MM-YYYY");
form-control ${
formErrors.startDate ? "is-invalid" : ""
}}
Most helpful comment
Firstly get today's date by,
````
import moment from 'moment';
..
class Mycal extends component
{..
const today = moment().format("YYYY-MM-DD");
..
}