react-native-calendar icon indicating copy to clipboard operation
react-native-calendar copied to clipboard

Disable future 'days'

Open pie6k opened this issue 8 years ago • 4 comments

Is it possible to 'gray-out' all days in the future eg. make them look differently and make them not-clickable?

pie6k avatar Jul 26 '17 11:07 pie6k

Haha, interesting feature, @christopherdro do you think this is a necessary feature?

hejiaji avatar Aug 17 '17 02:08 hejiaji

I've got calendar that is responsible for displaying logs. Logs in their nature - are showing only events from the past. In such situation - having calendar allowing future days has no point.

pie6k avatar Aug 17 '17 10:08 pie6k

Yeah, it is very helpful to add date range configuration.

jungleyu avatar Sep 25 '17 09:09 jungleyu

Agree, I have a use case where user selects previous period date. This is not possible with future dates.

peter-mach avatar Oct 06 '17 17:10 peter-mach