appbaseio / appbaseio/reactivesearch

MultiDropdownList and MultiList should allow users to unselect/clear selected value(s) even if no results are found

Open
#576 0 comments 3 reactions 0 assignees View on GitHub
enhancement web :spider_web:
Dominant language
JavaScript
Stars
4.9k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

**Issue Type:**
enhancement

**Platform:**
Web

**Description:**
`MultiDropdownList` and `MultiList` should allow users to unselect/clear selected value(s) even if no results are found without using `SelectedFilter`

**Minimal reproduction of the problem with instructions:**
Assume you have a `Datasearch` and a `MultiList` and that we don't use the `SelectedFilter` component but only a `ClearAll` button to reset all criteria.
The values displayed in the `MultiList` are refreshed based upon new keywords typed in the `Datasearch` with the following config:
```

```
If the user select a value, and then type keywords in the `Datasearch` with no results for the selected value and keyword combination, then the list of options is empty but the previously selected value is still there, but the user can't unselect it.
The selected option(s) should still be displayed so he can unselect them, or at least there should be a inline clear icon to reset the component selection itself

**Reactivesearch version:** 2.12.0

**Browser:** all

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.