elastic / elastic/eui

[EuiSearchBar/EuiSearchBarFilters] Allow exclusions in select value filter

Open
#8,941 4 comments 0 reactions 1 assignee Claimed by @tkajtoch View on GitHub
stale-issue
Dominant language
TypeScript
Stars
6.4k
Forks
911
Avg merge
2d 10h
Merged PRs (30d)
74

Description

**Problem Statement**

`EuiSearchBar/EuiSearchBarFilters` components do not support allowing exclusion for `FieldValueSelectionFilter`.

**Proposed Solution**

Add `allowExclusions` prop to `FieldValueSelectionFilterConfigType` so it can be passed to `EuiSelectable` used in `FieldValueSelectionFilter` component.

**Use Case**

When working on https://github.com/elastic/kibana/pull/229698 it was discovered that user cannot easily filter out the misconfigured repository and needs to either use the specific query in the search bar or needs to filter each repository individually to see all the snapshots.

Image

Image

**Value / Impact**

This improvement would allow users to filter out misconfigured repository easily.

**Urgency**

It's not a blocker but would certainly improve UX. Unfortunately there are no workarounds.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.