igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Typing a non-existing value in the search input does not disable the apply filter button.

Open gedinakova opened this issue 7 years ago • 5 comments

Description

Typing a non-existing value in the search input does not disable the apply filter button.

  • igniteui-angular version: 7.2.x
  • browser: N/A

Steps to reproduce

  1. Run DEV demos
  2. Navigate to Grid Column Moving sample
  3. Open Excel filtering dropdown
  4. Type a non-existing value in the search box, e.g. 'alll'.

Result

The list gets cleared but the "Apply" button stays enabled.

Expected result

The "Apply" button should get disabled as it does in MS Excel.

gedinakova avatar Feb 26 '19 08:02 gedinakova

@gedinakova this is not a bug it should work like that because you have selected values before the search is performed. If you deselect all values and then do a search and the value you are searching is not present the button is disabled.

SlavUI avatar Feb 26 '19 10:02 SlavUI

@SlavUI Whatever the initial state is, pressing the Apply button does nothing, so it seems like the better UX is to disable it, as they do in MS Excel.

gedinakova avatar Feb 26 '19 11:02 gedinakova

@DaniMarinov , can you share your thoughts on this?

tachojelev avatar Jul 25 '19 12:07 tachojelev

IMO it's a bug and should behave like in MS Excel. It is not possible to Apply not existing value (in that way Apply is just closing the ESF dialog).

DaniMarinov avatar Jul 25 '19 13:07 DaniMarinov

In the scenario when a user:

  1. Types a value in the search input
  2. Then selects some of the filtered results
  3. Change again the value in the search input that shows "there are no items in the list", but still have a selected value from the previous search

After the third step, the button Apply goes Disabled but should be Enabled, because still there are selected values from the previous search.

DaniMarinov avatar Feb 05 '20 13:02 DaniMarinov