form.clear() triggers error

When a form includes a calendar control and form.clear() is called then I get this error:

Uncaught TypeError: Cannot read property '0' of null
dhtmlXForm.items.calendar.strToDatedhtmlx.js:8488
dhtmlXForm.items.calendar.setValuedhtmlx.js:8492
doWithItemdhtmlx.js:7921
setItemValuedhtmlx.js:7975
cleardhtmlx.js:8044
cleardhtmlx.js:8049
(anonymous function) ma_MANAGE_CUSTOMERS.php:195
obj.eventCatcher.zdhtmlx.js:179
obj.callEventdhtmlx.js:176
obj.onclick

Hello

If this issue still actual - please contact us support(at)dhtmlx.com
I’ll send you updated form and calendar code