Bugfix
(User-visible)
Detail
#26042
Calendar control in filter dialogs does not work in Modern theme
In a grid, a date column is to be filtered. It contains many different values, so that ><= etc. is offered as a comparison type. In addition to the comparison type, the comparison value must be specified. If the calendar control is opened to enter this value, the page is reloaded.
The filter still works if the comparison value is entered directly into the input field.
In the Decent theme the popup works, in the Modern theme it is broken.
Analysis
With change in #25328 it is omitted that the onclick at the icon which opens the Calenar popup makes return false; at the end. Therefore, in the Modern theme, where the icon is still rendered via an input tag, a submit of the non-existent form happens, which leads to a reload of the page.
Test
- In tl-demo create A-node with 50 subelements.
- Open table view and filter by date column: