A composite component for filtering data in a table or list.
In the clear mode, filters remain on the panel after clicking the button with a cross, and in the delete mode, they disappear. Do not mix the two modes on one screen. If the buttons with the cross icon work differently for adjacent filters, this will confuse the user.
Use when the system has few filters or users often use several popular parameters. Filter buttons without selected values are pre-showed on the screen, the filled filter is cleared by the cross, but the button itself does not disappear.
In the cleaning mode, you should not give the opportunity to add new filters from the menu, as this will conflict with the fact that the cross will either reset or delete the filter.
In this mode, the user has the option to hide the component if there are no values selected in the filter. When filled, the button with a cross resets the filter values and hides it. Filters with the ability to delete are usually hidden in the menu to avoid cluttering the screen. The user will select the desired parameter from the drop-down list, and then the corresponding element will be added to the filter panel.
A filter can be added to the filter panel regardless of the operating mode, which will always be filled and cannot be cleared. The user will only be able to change its value.
The filter value cannot be changed, the filter can only be deleted.
Clicking on a pseudo-link in the list of parameters will add a new value to the filter. If the filter is not in the menu or in the panel: then an inactive element will be added, the value of which cannot be changed, it can only be deleted.
If the filter has many values, it is useful to enable search in the drop-down menu.
If there are many values, "Select All" will allow you to select all values or deselect all values in one action. When searching, the master checkbox selects only the results that match the query.
The filter value cannot be changed or deleted.
Text search allows you to search for information based on any data, even if there are no separate filters for it.
The user can quickly get search results by selecting a saved filter, without re-configuring the parameters. It is also possible to create a new set of filters and use them in the future.