I want to limit the range of date until today, there is any method for this?
Yes sure just check if it is a past / future day: http://react-day-picker.js.org/api/DateUtils
I'm not sure about how to apply this in a DayPickerInput component. Is it possible?
What is blocking you? What is your problem?
I have a DayPickerInput and the date limit to select is until today. By documentation I'm not understanding very well. Can you show me how to disable the cells after today?
Sorry we can't help you if you don't provide an example of the code you have wrote so far, and a description of what is not working for you, what you don't understand, or what is blocking you. Obrigado!
@gpbl, dayPickerProps solved my problem. Thanks for your attention.
```javascript
dayPickerProps={{
disabledDays: {before: new Date(this.minYear, 0, 1), after: moment().toDate()}
}}
Most helpful comment
@gpbl, dayPickerProps solved my problem. Thanks for your attention.
```javascript
dayPickerProps={{
disabledDays: {before: new Date(this.minYear, 0, 1), after: moment().toDate()}
}}