Typing a non-existing value in the search input does not disable the apply filter button.
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
- Run DEV demos
- Navigate to Grid Column Moving sample
- Open Excel filtering dropdown
- 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 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 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.
@DaniMarinov , can you share your thoughts on this?
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).
In the scenario when a user:
- Types a value in the search input
- Then selects some of the filtered results
- 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.