appbaseio / appbaseio/reactivesearch
Selected value for Single/MultiList
未关闭
enhancement
- 主要语言
- JavaScript
- 星标
- 4.9k
- 派生
- 478
- PR 合并指标
- 30 天内没有已合并 PR
描述
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:
}
```
贡献指南
评估
这个 Issue 还没有评估数据。