appbaseio / appbaseio/reactivesearch
Consider defaultSelected value if only it is present in the aggs data from ES
Abierto
bug
enhancement
- Lenguaje dominante
- JavaScript
- Estrellas
- 4.9k
- Forks
- 478
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## 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)
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.