SchedulerFormEditor
Represents the Kendo UI for Vue SchedulerFormEditor component. Use it to build a custom edit form for the Scheduler events (see example).
Definition
Package:@progress/kendo-vue-scheduler
Properties Interface:SchedulerFormEditorProps
Syntax:
<SchedulerFormEditor :title-editor="FormInput" :all-day-editor="FormSwitch" />
Properties
Overrides the component that edits the allDay field.
By default, the editor uses the Kendo UI for Vue Switch component.
Switch
allDayLabel?
any
Overrides the component that shows the label of the allDay field.
'span'
allowSubmit
boolean
Shows whether the Form is ready for submission.
- If
allowSubmitistrueand the Form is valid, the user can submit the Form. - If
allowSubmitistrueand the Form is not valid, a submit sets the
touched and visited state of all fields to true.
Use it to toggle the disabled state of the Submit button.
Overrides the component that edits the description field.
By default, the editor uses the Kendo UI for Vue TextArea component.
TextArea
endEditor?
any
Overrides the component that edits the end field.
By default, the editor uses the ZonedSplitDateTime component, which shows a split DatePicker and TimePicker.
ZonedSplitDateTime
Overrides the component that edits the end timezone field.
By default, the editor uses a Kendo UI for Vue DropDownList component.
TimezoneDropDownList
errors
KeyValue<string>
The key-value pairs of the current errors by field path. They combine the errors from the field-level and form-level validators.
id?
string
Sets the id attribute of the root element.
modified
boolean
Shows whether the Form is modified.
When any field is modified, modified is true.
A field becomes modified the first time the Field component handles
the change event of its editor.
onChange?
(name: string, options: { value: any }) => void
A callback that changes the value of a specific field without the Field component (see example).
Use
onChangeonly when you cannot get the result you need through the Field component.
onFormreset?
() => void
A callback that resets the Form.
onSubmit?
(event: any) => void
A callback that submits the Form.
You can bind it to the click event of the Submit button.
This template is ignored. The recurrence button always uses the localized
"Make recurring" or "Edit recurrence" label. Use recurrenceSummaryTemplate
to customize the separate recurrence summary instead.
Overrides the component that edits the recurrenceRule field.
By default, the editor uses a built-in RecurrenceEditor component.
RecurrenceEditor
Overrides the recurrence summary displayed below the recurrence button and inside the recurrence editor dialog.
Receives recurrenceRule (RRULE string), text (full default summary), and parsedRule.
This template is only rendered when a recurrence rule exists.
The native tooltip displays the full rendered template text.
Overrides the component that edits each resource field.
By default, the editor uses an extended Kendo UI for Vue MultiSelect or DropDownList component, based on the multiple field of each resource.
ResourceEditor
startEditor?
any
Overrides the component that edits the start field.
By default, the editor uses the ZonedSplitDateTime component, which shows a split DatePicker and TimePicker.
ZonedSplitDateTime
Overrides the component that edits the start timezone field.
By default, the editor uses a Kendo UI for Vue DropDownList component.
TimezoneDropDownList
submitted
boolean
Shows whether the Form is successfully submitted. Use it to detect when the user leaves the Form before saving the changes.
tabIndex?
number
Sets the tabIndex attribute of the root element.
titleEditor?
any
Overrides the component that edits the title field.
By default, the editor uses the Kendo UI for Vue TextBox component.
TextBox
touched
boolean
Shows whether the Form is touched.
When any field is touched, touched is true.
A field becomes touched when the Field component handles the blur event
of its editor or when the user tries to submit the Form.
valid
boolean
Shows whether the Form is valid.
When any field is not valid, valid is false.
A callback that returns the value of a field without the Field component (see example). Use it to build or change the UI based on the field values.
any
visited
boolean
Shows whether the Form is visited.
When any field is visited, visited is true.
A field becomes visited when the Field component handles the focus event
of its editor or when the user tries to submit the Form.