2015-12-09 50 views

回答

0

eventConstraint應該工作

Disable drop on past dates in FullCalendar

/* This constrains it to today or +5 years */ 
eventConstraint: { 
    start: moment().format('YYYY-MM-DD'), 
    end: moment().add(365*5, 'day').format('YYYY-MM-DD') 
}