Templating: Link label to input (#85329)

Pass id to VariableInput
This commit is contained in:
Tobias Skarhed
2024-03-28 12:45:43 +01:00
committed by GitHub
parent 40c88596d8
commit a44aa342a7

View File

@@ -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 ?? ''}