Default value for allowCustomValue property in vars is enabled (#117313)

This commit is contained in:
Victor Marin 2026-02-03 17:01:42 +02:00 committed by GitHub
parent c4b626d358
commit fcac769fee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 })}
/>
);