Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting an empty filter on a filtered Number or DateTime grid column doesn't work #4372

Closed
matanasov opened this issue Jul 13, 2018 · 0 comments
Assignees
Milestone

Comments

@matanasov
Copy link
Contributor

Bug report

Setting an empty filter does nothing

Reproduction of the problem

  1. Open the Demo
  2. Filter any Number or DateTime column
  3. Open the filter menu of the same column and clear the filter value.
  4. Click the "filter" button without inputting a value - visually no filtering is set, but the grid is still filtered:

filter

Current behavior

The grid will now persist the applied filters

Expected/desired behavior

The grid should reset, clearing the current column filter or apply empty filter

Environment

  • Kendo UI version: 2018.2.620
  • Browser: [all ]

This is misleading to the user.

In the case above we have Is equal to as an operator and we should consider it - either apply it explicitly and return empty collection (which will be similar to Is Empty\Is Null) or clear the filter as with String columns.
Another option would be to have the Filter button disabled when the filter values are empty and enabled it only when some values as entered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants