Our state of the art Gantt chart


Post by attila.posta »

Hello,

I'd like to add extra validation to StartDateField and EndDateField widgets, their new value has to be compared to other field values, and in certain cases I'd like to block the new value (reset to the old one), and sent a warning.

I've used the 'change' listener, checked the value, but at this point it's too late, the new value will be set to the field anyway, I can't stop it. There is no 'beforeChange' listener similar to that of the Checkbox.js.
Is it possible somehow?

I'm using Gantt 2.1.9.

regards,
Norbi


Post by pmiklashevich »

This is not supported at the moment. There is a feature request: https://github.com/bryntum/support/issues/2003

Pavlo Miklashevych
Sr. Frontend Developer


Post by attila.posta »

Thank you!


Post Reply