kdevr
2 Nov 2010, 7:48 AM
i am having a strange issue with TimeField. When trying to set a minValue on the timeField, the combobox dropdown never happens. Here is a sample code..
timeField.setName(TradeIdeasStaticData.TID_EXPIRY_DATE_FIELD);
timeField.setAllowBlank(true);
timeField.setAutoValidate(true);
timeField.setTriggerAction(ComboBox.TriggerAction.ALL);
timeField.setMinValue(new Date());
and then i add this field to my form Panel
Any ideas what is going on?
timeField.setName(TradeIdeasStaticData.TID_EXPIRY_DATE_FIELD);
timeField.setAllowBlank(true);
timeField.setAutoValidate(true);
timeField.setTriggerAction(ComboBox.TriggerAction.ALL);
timeField.setMinValue(new Date());
and then i add this field to my form Panel
Any ideas what is going on?