Blank calendar when using Date filter in GenericFilter - Jmix 3.0.1

Hi ,

I’m having a strange issue with the GenericFilter in Jmix 3.0.1.

When I add a filter for my createTs field and click the calendar icon, the calendar popup opens but it’s completely blank. Because of that, I can’t select a date.

My entity field is:

@CreatedDate
@Column(name = “create_ts”)
private Date createTs;

And my GenericFilter is just:

I tried a few things to figure out where the problem is:

  • A DatePicker outside the GenericFilter works fine.
  • A DateTimePicker outside the GenericFilter also works fine.
  • The problem only happens with the date field generated by the GenericFilter.
  • I don’t get any errors in the browser console.

Has anyone experienced something similar with Jmix 3.0.1?

Could this be related to the way GenericFilter generates the component for java.util.Date?

Any idea what could be causing this or if there’s a workaround?

Thanks!

Hi,

Unfortunately, I cannot reproduce the issue. Any of the available date types are correctly handled by the DatePicker/DateTimePiker inside the GenericFilter component.

Could you please attache a small demo project that reproduces the problem?

Regards,
Gleb

Hi, we found the solution.

The problem occurred because we had the following CSS rule in our application:

.jmix-generic-filter * {
    overflow: visible;
    text-overflow: clip;
}

This rule was being applied to all elements inside the generic filters and was causing the DatePicker fields to be rendered incorrectly, leaving them blank.

After removing this CSS rule, the DatePickers started working correctly again.