Hi,
I've found a bug using DateTimeItem and it also applies to DateItem.
When you set:
it has no affect on the appearance of the item. Input text item is changed to disabled(greyed out) along with the picker icon.
I've set this setting before drawing this from.
Standalone test case:
Tested with latest SmartGWT Nightly build on Firefox and Google Chrome.
Should I report an issue on project site on google?
Best regards.
I've found a bug using DateTimeItem and it also applies to DateItem.
When you set:
Code:
setShowDisabled(false)
I've set this setting before drawing this from.
Standalone test case:
Code:
DynamicForm form = new DynamicForm(); TextItem itemName = new TextItem("name"); itemName.setShowDisabled(false); itemName.setDefaultValue("test"); DateTimeItem itemDateStart = new DateTimeItem("date_start"); itemDateStart.setShowDisabled(false); itemDateStart.setDefaultValue(new Date()); form.setFields(itemName, itemDateStart); form.setDisabled(true);
Should I report an issue on project site on google?
Best regards.
Comment