Announcement
Collapse
No announcement yet.
X
-
I am seeing the same problem with a regular textbox. SetShowDisabled(false) has no effect.
-
DateTimeItem and DateItem ignores setShowDisabled()
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.Code:setShowDisabled(false)
I've set this setting before drawing this from.
Standalone test case:
Tested with latest SmartGWT Nightly build on Firefox and Google Chrome.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.Tags: None
Leave a comment: