[v11.0.x] Templating: Link label to input (#86349)

Templating: Link label to input (#85329)

Pass id to VariableInput

(cherry picked from commit a44aa342a7)

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-04-16 16:01:49 +01:00
committed by GitHub
co-authored by Tobias Skarhed
parent d37a55db45
commit 1a099d444e
@@ -34,6 +34,7 @@ export class VariableInput extends PureComponent<Props> {
instance.setAttribute('style', `width:${Math.max(instance.width, 150)}px`);
}
}}
id={id}
type="text"
className="gf-form-input"
value={value ?? ''}