Announcement

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

    DateRangeItem validate issue

    Hi Support team,

    In 14.0

    DateRangeItem validate retuns false with "Must be a Date" message even though there are valid dates. Please refre the screen shot and below code



    VStack mainLayout=new VStack(5);



    DynamicForm form=new DynamicForm();



    DateRangeItem rangeDate=new DateRangeItem("range","Dates");

    rangeDate.setRequired(true);

    form.setFields(rangeDate);



    mainLayout.addMember(form);



    IButton btn=new IButton("Validate");

    btn.addClickHandler(new ClickHandler() {



    @Override

    public void onClick(ClickEvent event) {

    form.validate();

    }

    });

    mainLayout.addMember(btn);


    mainLayout.draw();


    Thanks,
    Revan
    Attached Files

    #2
    Thanks for the report - this was a bug and has been fixed for tomorrow's builds, dated December 21 or later.

    Comment


      #3
      Thanks

      Comment

      Working...
      X