Cant get ValueOf end_date of event is undefined


With recurring events i am trying to save it and the end date keeps going with undefined.

When i try to access to my value event.end_date he returns like i want but if i try to change it in the save function he just doesnt apply.

function save_form(){
var ev = scheduler.getEvent(scheduler.getState().lightbox_id)
ev.text = $(’#titulo’).val();

ev.type = $(’#type’).val();

ev.start_date = parseDate($(’#dataInicio’).val());

ev.end_date = parseDate($(’#dataFim’).val());

scheduler.endLightbox(true, document.getElementById(‘formulario’));


Hello @Alexandre_F ,

It’s hard to suggest what exactly goes wrong without more details, as I don’t know your scenario of usage, could you please reproduce the issue in follows demo:
(reproduce the issue on HTML/CODE tabs => click the “Share” button => send me the new link)?