Hello all !
I'm using the Calendar lib, in react ts.
When I create a new event the default duration is 1 hour.
Is it possible to change this duration ?
Hi,
Thanks for reaching out.
Looks this is not configurable. I've opened feature request to make it configurable here https://github.com/bryntum/support/issues/9431
Best regards,
Tasnim
Best regards,
Tasnim
How to ask for help? Please read our Support Policy
The double click (and that gesture is configurable) event creation actions are fully customisable using this configuration option: https://www.bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-autoCreate
So accepting all defaults but overriding what you want:
autoCreate: {
duration : ‘2 h’
}