v7.3.0

EventEditor
Abstract

The Calendar's event editor dialog, used internally by the EventEdit feature to display a popup form for creating and editing events. This editor extends the Scheduler's EventEditor with Calendar-specific behavior such as toggling the visibility of time fields when the "All day" toggle is switched, and restoring underlying time data when the toggle is cleared.

This class is not intended to be instantiated directly. To customize the editor layout, use the items config of the EventEdit feature. See EventEdit for more information and examples.

const calendar = new Calendar({
    features : {
        eventEdit : {
            items : {
                // Add a custom field to the event editor
                locationField : {
                    type   : 'text',
                    name   : 'location',
                    label  : 'Location',
                    weight : 200
                }
            }
        }
    }
});

See also

No results

Properties

Properties are getters/setters or publicly accessible variables on this class

Source path

Calendar/widget/EventEditor.js

Contents