mradamlacey / elasticsearch-tableau-connector

Tableau Web Data Connector for Elasticsearch
MIT License
149 stars 64 forks source link

Metric field getting reset to default if new metric is added or bucket is added #23

Closed mradamlacey closed 8 years ago

mradamlacey commented 8 years ago

KO is not preserving the selected value if the array that a select's options are bound to changes.

This shouldn't happen when using the optionsValue binding - but still seeing the behavior. Workaround of saving off the state, changing the options array, and reassigning the selected value.