Announcement

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

    Can't change the month in the date picker in RelativeDateItem

    A simple example that renders the RelativeDateItem with everything default:

    Code:
    import com.smartgwt.client.widgets.Canvas;
    import com.smartgwt.client.widgets.form.DynamicForm;
    import com.smartgwt.client.widgets.form.fields.RelativeDateItem;
    
    public class DatePickerWoes extends Canvas {
        DatePickerWoes() {
            RelativeDateItem relativeDate = new RelativeDateItem();
            DynamicForm form = new DynamicForm();
            form.setItems(relativeDate);
            addChild(form);
            draw();
        }
    }
    The RelativeDateItem renders with the chooser icon. Click on the icon to open the chooser. Now:
    • The <<, <, >, >> arrows don't work;
    • The month name can be clicked to open the months table, but no month can be selected;
    • Everything else functions just fine;
    • If these items are inspected in browser's dev tools, it can be seen they have the *Disabled class, as-in "dateChooserNavButtonDisabled".
    Click image for larger version

Name:	relativedateitem_datechooser_highlights.jpg
Views:	122
Size:	23.1 KB
ID:	270646
    SmartClient Version: SNAPSHOT_v13.1d_2023-07-26/LGPL Development Only (built 2023-07-26)

    This used to work in the past, but I don't know which was the 1st version where it stopped.
Working...
X