Re: [VUE 2] Get rid of empty event on event create
The entire app is very big and integrates a lot of REST API calls.
I'll try to prepare a test case and post it here.
Thanks a lot,
Best regards
The entire app is very big and integrates a lot of REST API calls.
I'll try to prepare a test case and post it here.
Thanks a lot,
Best regards
here it is, thank you very much
Sorry for the delay, I've applied the changes in a custom-event-editor demo.
Please check custom-event-editor/src/app/app.component.ts
and custom-event-editor/src/app/event-editor/event-editor.component.ts
Here is the attachment
It seems to me that the solution is
features : {
eventEdit : false
},
listeners : {
eventAutoCreated({ eventRecord }) {
// The event has been added to the store.
// if your edit process adds on save, then remove it here
eventRecord.remove();
// Open some kind of editor
},
eventDblClick({ eventRecord }) {
// Open some kind of editor
}
}
I was able to solve following Tasnim example, thanks a lot!
Latest request: how can I get rid of the
Object.newEvent
description of the new event created?
Is there an event I can attach to make the description empty?
Best regards
how can I get rid of the
Object.newEvent
description of the new event created?
Sorry, I don't understand what mean by this line. Could you please elaborate a bit further?
I mean the description of the new temporary event that appears while dragging and creating a new event,
just before the custom edit dialog appears.
The example is in the attachment, I would like to see the green temporary event without the description.
Best regards
Are you talking about the red one or the blue one that I've highlighted?
I'm talking about the blue one, the red one is ok because it disappears when I open my custom dialog editor.
Best regards,
I've attached the custom-editor-demo and changed in the app.component.ts
Please check this below