Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • bobthe
    replied
    I am seeing the same problem with a regular textbox. SetShowDisabled(false) has no effect.

    Leave a comment:


  • albu77
    replied
    No answer?
    I get exact same problem

    Regards
    Alain

    Leave a comment:


  • DateTimeItem and DateItem ignores setShowDisabled()

    Hi,

    I've found a bug using DateTimeItem and it also applies to DateItem.
    When you set:
    Code:
    setShowDisabled(false)
    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:
    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);
    Tested with latest SmartGWT Nightly build on Firefox and Google Chrome.
    Should I report an issue on project site on google?
    Best regards.
Working...
X