appbaseio / appbaseio/reactivesearch

Selected value for Single/MultiList

未关闭
#125 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。