fullcalendar icon indicating copy to clipboard operation
fullcalendar copied to clipboard

multiple definitions for selectConstraint/eventConstraint

Open sulian opened this issue 8 years ago • 6 comments

Hello

It seems that the new businessHours options does not work with selectConstraint (and eventConstraint).

With multiple declaration, I have an error and nothing append

http://jsbin.com/hirucicobu/edit?js,output

In addition, it is not possible to mix an business hours and a specific period like this example :

selectConstraint: [ { start: moment().startOf('day'), end: moment().startOf('day').add(1, 'y') }, { dow: [1,2,3,4], start: '08:30', end: '17:00' }, { dow: [5], start: '08:30', end: '16:30' } ],

Thanks

sulian avatar Aug 02 '16 13:08 sulian