appbaseio / appbaseio/reactivesearch

Selected value for Single/MultiList

Aberta
#125 2 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
JavaScript
Estrelas
4.9k
Forks
478
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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:
}
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.