New to KendoReactStart a free 30-day trial

SchedulerFormEditorProps
Premium

Represents the props of the KendoReact SchedulerFormEditor component.

NameTypeDefaultDescription

allDayEditor?

React.ComponentType<TargetlessChangeEvent<CheckboxProps intersected with FieldProps>>

Overrides the component used for visualizing the allDay field editor. The KendoReact Checkbox component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

allDayLabel?

React.ComponentType<LabelProps intersected with FieldProps>

Overrides the component used for visualizing the allDay field label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

allowSubmit

boolean

Shows whether the form can be submitted. When true and form is valid, you can submit. When true and form is invalid, you can show all validation errors.

Use this to control the disabled state of Submit buttons.

jsx
console.log(props.allowSubmit);

descriptionEditor?

React.ComponentType<TargetlessChangeEvent<TextAreaProps intersected with FieldProps>>

Overrides the component used for visualizing the description field editor. The KendoReact TextArea component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

descriptionError?

React.ComponentType<ErrorProps intersected with FieldProps>

Overrides the component used for visualizing the description field error. The KendoReact Error component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

descriptionLabel?

React.ComponentType<LabelProps intersected with FieldProps>

Overrides the component used for visualizing the description field label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

endEditor?

React.ComponentType<TargetlessChangeEvent<Omit<DatePickerProps | DateTimePickerProps> intersected with { as?: ComponentType<DatePickerProps | DateTimePickerProps>; onChange?: (args: { value: "null" | Date; }) => void; onClose?: (args: DatePickerCloseEvent | DateTimePickerCloseEvent) => void; onOpen?: (args: DatePickerOpenEvent | DateTimePickerOpenEvent) => void; } intersected with FieldProps>>

Overrides the component used for visualizing the end field editor. The KendoReact DatePicker or KendoReact DateTimePicker component is used by default depending on the allDay field value.

For more information, please refer to the Scheduler Form Editor Customization article.

endError?

React.ComponentType<ErrorProps intersected with FieldProps>

Overrides the component used for visualizing the end field error. The KendoReact Error component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

endLabel?

React.ComponentType<LabelProps intersected with FieldProps>

Overrides the component used for visualizing the end field label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

endTimezoneCheckedEditor?

React.ComponentType<TargetlessChangeEvent<CheckboxProps>>

Overrides the component used for visualizing the end timezone checked editor. The KendoReact Checkbox component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

endTimezoneCheckedLabel?

React.ComponentType<LabelProps>

Overrides the component used for visualizing the start timezone checked label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

endTimezoneEditor?

React.ComponentType<TargetlessChangeEvent<ComboBoxProps>>

Overrides the component used for visualizing the end timezone field editor. An extended KendoReact ComboBox component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

endTimezoneError?

React.ComponentType<ErrorProps>

Overrides the component used for visualizing the end timezone field error. The KendoReact Error component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

endTimezoneLabel?

React.ComponentType<LabelProps>

Overrides the component used for visualizing the end timezone field label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

errors

KeyValue<string>

Contains current validation errors organized by field path.

jsx
console.log(props.errors);

id?

string

Specifies the id attribute of the root element.

modified

boolean

Shows whether any field value has changed from its initial value. Becomes true when any field value changes for the first time.

jsx
console.log(props.modified);

onChange

(name: string, options: { value: any; }) => void

A callback for emitting changes to a specific field without using the Field component (see example).

Use onChange only if you cannot achieve the desired behavior through the Field component.

jsx
props.onChange("user.name", { value: "John Doe" });

onFormReset

() => void

Resets the form to its initial state.

jsx
<Button onClick={props.onFormReset}>Reset</Button>

onSubmit

(event: SyntheticEvent<any>) => void

Submits the form when called. Use this with the onClick property of Submit buttons.

jsx
const handleSubmit = event => console.log("Form submitted");
<Button onClick={props.onSubmit}>Submit</Button>

recurrenceEditor?

React.ComponentType<TargetlessChangeEvent<FieldProps>>

Overrides the component used for visualizing the recurrenceRule field editor. A custom made RecurrenceEditor component is used, by default.

We're planing on releasing the RecurrenceEditor as a standalone component in the future.

For more information, please refer to the Scheduler Form Editor Customization article.

resourceEditor?

React.ComponentType<TargetlessChangeEvent<Object>>

Overrides the component used for visualizing each resource field editor. An extended KendoReact MultiSelect or DropDownList component is used by default, depending on the multiple field of each individual resource.

For more information, please refer to the Scheduler Form Editor Customization article.

resourceLabel?

React.ComponentType<LabelProps intersected with FieldProps>

Overrides the component used for visualizing the start timezone checked field label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

resourcesError?

React.ComponentType<ErrorProps intersected with FieldProps>

Overrides the component used for visualizing each resources field error. The KendoReact Error component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

startEditor?

React.ComponentType<TargetlessChangeEvent<Omit<DatePickerProps | DateTimePickerProps> intersected with { as?: ComponentType<DatePickerProps | DateTimePickerProps>; onChange?: (args: { value: "null" | Date; }) => void; onClose?: (args: DatePickerCloseEvent | DateTimePickerCloseEvent) => void; onOpen?: (args: DatePickerOpenEvent | DateTimePickerOpenEvent) => void; } intersected with FieldProps>>

Overrides the component used for visualizing the start field editor. The KendoReact DatePicker or KendoReact DateTimePicker component is used by default depending on the allDay field value.

For more information, please refer to the Scheduler Form Editor Customization article.

startError?

React.ComponentType<ErrorProps intersected with FieldProps>

Overrides the component used for visualizing the start field error. The KendoReact Error component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

startLabel?

React.ComponentType<LabelProps intersected with FieldProps>

Overrides the component used for visualizing the start field label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

startTimezoneCheckedEditor?

React.ComponentType<TargetlessChangeEvent<CheckboxProps>>

Overrides the component used for visualizing the start timezone checked editor. The KendoReact Checkbox component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

startTimezoneCheckedLabel?

React.ComponentType<LabelProps>

Overrides the component used for visualizing the start timezone checked label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

startTimezoneEditor?

React.ComponentType<TargetlessChangeEvent<ComboBoxProps intersected with FieldProps>>

Overrides the component used for visualizing the start timezone field editor. An extended KendoReact ComboBox component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

startTimezoneError?

React.ComponentType<ErrorProps intersected with FieldProps>

Overrides the component used for visualizing the start timezone field error. The KendoReact Error component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

startTimezoneLabel?

React.ComponentType<LabelProps intersected with FieldProps>

Overrides the component used for visualizing the start timezone field label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

submitted

boolean

Shows whether the form has been successfully submitted. Use this to detect if the user is leaving before saving changes.

jsx
console.log(props.submitted);

tabIndex?

number

Specifies the tabIndex attribute of the root element.

titleEditor?

React.ComponentType<TargetlessChangeEvent<InputProps intersected with FieldProps>>

Overrides the component used for visualizing the title field editor. The KendoReact Input component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

titleError?

React.ComponentType<LabelProps intersected with FieldProps>

Overrides the component used for visualizing the title field error. The KendoReact Error component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

titleLabel?

React.ComponentType<LabelProps intersected with FieldProps>

Overrides the component used for visualizing the title field label. The KendoReact Label component is used, by default.

For more information, please refer to the Scheduler Form Editor Customization article.

touched

boolean

Shows whether the user has interacted with any field. Becomes true when any field loses focus or the user tries to submit.

jsx
console.log(props.touched);

valid

boolean

Shows whether the form passes all validation rules. Becomes false if any field fails validation.

jsx
console.log(props.valid);

valueGetter

(name: string) => any

A callback for getting the value of a field without using the Field component (see example). Useful for creating and modifying the UI based on the field values.

jsx
const value = props.valueGetter("user.name");
console.log(value);

visited

boolean

Shows whether the user has focused on any field. Becomes true when any field receives focus or the user tries to submit.

jsx
console.log(props.visited);
Not finding the help you need?
Contact Support