mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Influx: Make variable query editor input uncontrolled (#29968)
This commit is contained in:
parent
40d17af2e3
commit
12211e4a8e
@ -35,11 +35,11 @@ export default class VariableQueryEditor extends PureComponent<Props> {
|
||||
<InlineFormLabel width={10}>Query</InlineFormLabel>
|
||||
<div className="gf-form-inline gf-form--grow">
|
||||
<TextArea
|
||||
value={query || ''}
|
||||
defaultValue={query || ''}
|
||||
placeholder="metric name or tags query"
|
||||
rows={1}
|
||||
className="gf-form-input"
|
||||
onChange={e => onChange(e.currentTarget.value)}
|
||||
onBlur={e => onChange(e.currentTarget.value)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user