defect
(User-visible)
minor
#26042
Calendar control in filter dialogs does not work in Modern theme
A date column in a grid needs to be filtered. It contains many different values, so comparison operators such as >, <, =, and => are offered. In addition to the comparison type, the comparison value must be specified. If the calendar control is opened to enter this value, the page reloads.
The filter continues to work if the comparison value is entered directly into the input field.
The popup works in the Dezent theme, but it’s broken in the Modern theme.
Analysis
With the change in #25328, the ` onclick ` event on the icon that opens the calendar popup no longer executes ` return false; ` at the end. As a result, in the Modern theme—where the icon is still rendered via an input tag—a submit of the nonexistent form occurs, causing the page to reload.
Test
- In tl-demo, create an A node with 50 child elements.
- Open the table view and filter by the date column: