OpenTSDB: Fix metric dropdown autocomplete (#114825)

This commit is contained in:
Gareth
2025-12-04 21:34:52 +09:00
committed by GitHub
parent 7aa77af7c4
commit d92898888c
@@ -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 });