appbaseio / appbaseio/reactivesearch

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

Đang mở
#164 0 bình luận 0 reaction 2 người được giao Được @metagrover nhận Xem trên GitHub
bug enhancement
Ngôn ngữ chính
JavaScript
Star
4.9k
Fork
478
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.