SchedulerEditorField
Field configuration object for customizing individual editor inputs in the scheduler's event editing dialog. Defines field visibility, custom components, component properties, and validation rules for granular editor control. Enables developers to create specialized field inputs or override default field rendering with custom implementations.
Props
The following table outlines the props for the SchedulerEditorField:
| Name | Type | Default | Description |
|---|---|---|---|
| className | string | - | Adds custom CSS class names to the field container element. Enables custom styling of individual fields through external CSS. |
| component | node | - | A custom React component to render instead of the default field input component. Enables specialized field rendering for custom data types or interactions. |
| name | string | - | Unique field identifier used for data binding and validation (e.g., 'subject', 'location', 'description'). Must correspond to a property in the event data model. |
| props | Record<string, any> | - | Props to override or extend the default field component's properties. Enables fine-grained customization without replacing the entire component. |
| visible | boolean | true | Controls whether the field is displayed in the editor form. Set to false to hide the field from the editor while maintaining its data structure. |