Our pure JavaScript Scheduler component


Post by Jannvhi »

Looks like without providing any input to the nameField in editorwindow, it doesn't allow me to save the event.

a.How can I remove this validation from nameField(in editor window) and

b.how to add validation from any field(in editor window) with a custom validation message?

I went over the EventEdit doc, but I can't find any thing w.r.t validation.


Post by mats »

Here's the section are looking for: https://bryntum.com/docs/scheduler/#Scheduler/feature/EventEdit#customizing-a-built-in-widget

And you should set

{ required : false }

To not have name field be required. Docs: https://bryntum.com/docs/scheduler/#Core/widget/Field#config-required


Post Reply