appbaseio / appbaseio/reactivesearch

Consider defaultSelected value if only it is present in the aggs data from ES

未关闭
#164 0 条评论 0 个 reaction 已指派 2 人 已被 @metagrover 认领 在 GitHub 查看
bug enhancement
主要语言
JavaScript
星标
4.9k
派生
478
PR 合并指标
30 天内没有已合并 PR

描述

## Bug Report

**Description:**

Currently, the value of `defaultSelected` is directly passed into the `updateQuery` method, without checking if the value is valid or not (i.e. not checking if the value exists in the aggregations data we received from ElasticSearch). This results in inconsistent behavior, since we do this validation in user-driven-components (like ToggleButton)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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