Hello,
I use the latest nightly 3.1p (LGPL 2013/01/24).
If you use a RelativeDateItem and clear the Text-Field, the DatePicker no longer works.
Stack-Trace:
I use the latest nightly 3.1p (LGPL 2013/01/24).
If you use a RelativeDateItem and clear the Text-Field, the DatePicker no longer works.
Code:
DynamicForm form = new DynamicForm(); form.setFields(new RelativeDateItem()); form.draw();
Code:
string is null Stack from error.stack: unnamed(._splitDateStrin) @ ui/sc/client/language/Date.js:828 unnamed(.isDatetimeStrin) @ ui/sc/client/language/Date.js:687 unnamed(.parseDat) @ ui/sc/client/widgets/form/RelativeDateItem.js:1419 unnamed(.getStartDat) @ ui/sc/client/widgets/form/RelativeDateItem.js:1371 unnamed(.showPicke) @ ui/sc/client/widgets/form/RelativeDateItem.js:1278 unnamed(._createEditor/items[2].icons<.clic) @ ui/sc/client/widgets/form/RelativeDateItem.js:773 unnamed(._iconClic) @ ui/sc/client/widgets/form/FormItem.js:10522 unnamed(.handleClic) @ ui/sc/client/widgets/form/DynamicForm.js:7316 unnamed(.invokeSupe) @ ui/sc/client/language/Class.js:1369 unnamed(.Supe) @ ui/sc/client/language/Class.js:1213 unnamed(._createCanvas/canvasProps.handleClic) @ ui/sc/client/widgets/form/CanvasItem.js:315 unnamed(.bubbleEven) @ ui/sc/client/event/EventHandler.js:4559 unnamed(.handleClic) @ ui/sc/client/event/EventHandler.js:2531 unnamed(._handleMouseU) @ ui/sc/client/event/EventHandler.js:2319 unnamed(.handleMouseU) @ ui/sc/client/event/EventHandler.js:2214 unnamed(.dispatc) @ ui/sc/client/event/EventHandler.js:5273 unnamed(anonymou) @ ui/sc/client/language/Object.js:119 unnamed() @
Comment