appbaseio / appbaseio/reactivesearch
Selected value for Single/MultiList
Aperta
enhancement
- Lingua principale
- JavaScript
- Stelle
- 4.9k
- Fork
- 478
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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:
}
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.