PDA

View Full Version : [FIXED] Setting value on Ext.picker.Date does not work



tom_zeng
24 Apr 2012, 9:55 PM
Setting value on Ext.picker.Date ended up with invalid code - the value 2012-04-25T00:00:00 is not quoted, see the screen shot

aconran
25 Apr 2012, 11:42 AM
Tom - we had this reported internally and are already working on this.

scottd
25 Apr 2012, 5:39 PM
Put the value field in single quotes?

tom_zeng
30 Apr 2012, 6:32 AM
Thanks, for the suggestions. That value was inserted by SA2 - after picking a date from the popup calendar, so definitely a bug in SA2

aconran
30 Apr 2012, 10:33 AM
Next auto update will fix this.

mrjari
18 Jul 2012, 6:21 AM
I have the same problem, where can I find a fix to this?

Thank YOU

--
Fabio

...and this is a workaround, setting the value with

datePicker.setValue({day : 14, month: 6, year : 2012} );
but before you do:

Ext.Viewport.add(datePicker);