SchedulerEditSlotPremium
The SchedulerEditSlot component is responsible for the editing functionality of a Slot.
To extend the default SchedulerEditSlot, set the editSlot property to either the Scheduler or a specific view, to a modified version of the SchedulerSlotItem component.
Controlling the Editing
The SchedulerEditSlot exposes the following properties to allow controlling the internal edit state.
To control the state, provide the the value-handler pair. For example, if you want to control the formItem, provide your own onFormItemChange handler, modify the DataItem as needed, and pass it back through the formItem property.
To restrict event creation, control both pairs: quickCreateFormItem opens the quick-create popover, and formItem opens the full editor. Always accept null so that the popover and editor can close.
The following example demonstrates controlling both states to disallow item creation outside working hours. We will be using the view slot from the SchedulerViewSlot article.