OpenTSDB: Fix metric dropdown autocomplete (#114825)
This commit is contained in:
@@ -31,7 +31,7 @@ export function MetricSection({ query, onChange, onRunQuery, suggestMetrics, agg
|
||||
placeholder="Metric name"
|
||||
allowCustomValue
|
||||
loadOptions={metricSearch}
|
||||
defaultOptions={[]}
|
||||
defaultOptions={true}
|
||||
onChange={({ value }) => {
|
||||
if (value) {
|
||||
onChange({ ...query, metric: value });
|
||||
|
||||
Reference in New Issue
Block a user