Handle invalid custom filter

Issue #5 resolved
Winsley von Spee created an issue

Background

What should happen if a user enters a invalid custom filter?

Currently no behavior has been specified if the user enters an invalid custom filter.

The user should be prevented from entering invalid filters otherwise the invalid filter could break other filters as well (element hiding) and there is no value in adding invalid filters.

What to change

Add custom filter validation, only allow adding valid filters and an error message explaining the user which filter is invalid so he can change them.

See also parseFilter() and parseFilters().

Comments (1)

  1. Log in to comment