You found a bug! We've classified it as
EXTJS-23131
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
-
Sencha Premium User
Filter.Date Bug
Ext version tested:
Browser versions tested against:
- 54.0.2840.99
- Google Chrome
DOCTYPE tested against:
Description:
- I try to eliminate the posibility to filter on a single date in a grid ,
and leave just "before" and "after". I used the proprety "menuItems" and give it
this string array : ["lt", "gt"]. But now i get the error below.
Steps to reproduce the problem:
1: open this fiddle and run it : https://fiddle.sencha.com/#view/editor&fiddle/1kk1
2: try to filter the grid on Birth Date using any of two possibilities( "before" /"after")
The result that was expected:
- Even if the grid has no data i expect to set a filter to it.
The result that occurs instead:
- Instead i get this error in console and the filter is never set:
Uncaught TypeError: Cannot read property 'up' of undefined(…)
-
Thanks for the report! I have opened a bug in our bug tracker.
-
Sencha Premium User