Skip to content

DataFilters do not show an filterable properties when result set is zero #6940

@halocline

Description

@halocline

Expected Behavior

When applying too restrictive filter criteria yielding a result set of zero, a user should be able open the data filters and modify the filter criteria.

Actual Behavior

With a filter result set of zero, when re-opening the data filters, no filters are shown and therefor a user can't modify their filter criteria.

URL, screen shot, or Codepen exhibiting the issue

Screenshot 2023-09-08 at 3 40 52 PM

Steps to Reproduce

  1. Storybook Data/Data/Simple
  2. Open filters
  3. Apply filters for location = Boise and date = 2018-06-09
  4. Click apply filters
  5. Result set should yield zero records
  6. Reopen the filters

Your Environment

  • Grommet version:
  • Browser Name and version:
  • Operating System and version (desktop or mobile):

Metadata

Metadata

Assignees

Labels

Data and friendsFor data components in grommetbugissue that does not match design or documentation and requires code changes to address

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions