mirror of
https://github.com/grafana/grafana.git
synced 2026-02-03 20:49:50 -05:00
Default value for allowCustomValue property in vars is enabled (#117313)
This commit is contained in:
parent
c4b626d358
commit
fcac769fee
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ function AllowCustomSwitch({ variable, id }: InputProps) {
|
|||
return (
|
||||
<Switch
|
||||
id={id}
|
||||
value={allowCustomValue}
|
||||
value={allowCustomValue ?? true}
|
||||
onChange={(evt) => variable.setState({ allowCustomValue: evt.currentTarget.checked })}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue