opensearch-project / oui

OpenSearch UI Framework
Apache License 2.0
31 stars 65 forks source link

[BUG] Should EuiFilterButton show the number of filters when there are no active filters? #1219

Open ashwin-pc opened 5 months ago

ashwin-pc commented 5 months ago

Describe the bug

Coming from https://github.com/opensearch-project/OpenSearch-Dashboards/issues/5650. Currently the EuiFilterButton has a property numFilters which shows up when none of the filters are active as opposed showing 0. If a filter button should show 0 when no active filters are present, this behaviour should change.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://oui.opensearch.org/1.4/#/forms/filter-group
  2. See Multi Select

Expected behavior

-

Screenshots

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

Additional context

Add any other context about the problem here.