Announcement

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

    datetime/date formitems are broken in 13

    The entering of values in datetime formitems is broken in 13 right now i think. You can't enter values properly, the cursor is stuck and it behaves strange in various other ways too. Just try my example below or try the 'various controls' or 'text masking' demos in the 'smartgwt-latest' showcase.


    Code:
    public void onModuleLoad() {
    Canvas.resizeControls(20);
    
    DynamicForm form = new DynamicForm();
    form.setPadding(20);
    form.setNumCols(4);
    form.setFixedColWidths(true);
    form.setWrapItemTitles(false);
    form.setReadOnlyDisplay(ReadOnlyDisplayAppearance.DISABLED);
    
    DateTimeItem date1 = new DateTimeItem("test1", "Date field");
    date1.setValue(new Date());
    
    DateTimeItem date2 = new DateTimeItem("test2", "Another date field");
    date2.setUseMask(true);//only difference between the 2 fields
    date2.setValue(new Date());
    
    form.setFields(date1,date2);
    
    RootPanel.get().add(form);
    }

    #2
    FYI tried 13.0-d20210130 and it works fine there.

    Comment


      #3
      Hey guys, did you get the chance to check this out?

      Comment


        #4
        We're looking into it right now

        Comment


          #5
          We've addressed this regression - please retest with a build dated April 2 or later.

          Comment

          Working...
          X