appbaseio / appbaseio/reactivesearch
Selected value for Single/MultiList
Offen
enhancement
- Vorherrschende Sprache
- JavaScript
- Sterne
- 4.9k
- Forks
- 478
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Currently, the selected value from Single/MultiList is returned as a string or an array of strings in props like onValueChange(..) and beforeValueChange(..). Hence, in the current case, we miss out on the `doc_count` of the selected values.
To enable consistency across all the components, we should return the selected value as an object or an array of objects, where the shape of object is:
```
{
label: ,
count:
}
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.