fix: Skip empty values so Terraform can use the default value (#3902)

This commit is contained in:
Bruno Quaresma
2022-09-06 15:15:19 -03:00
committed by GitHub
parent 94eb503aac
commit 3c94ca9cbe
2 changed files with 7 additions and 0 deletions
@@ -58,6 +58,7 @@ const ParameterField: React.FC<React.PropsWithChildren<ParameterInputProps>> = (
id={schema.name}
size="small"
defaultValue={schema.default_source_value}
placeholder={schema.default_source_value}
disabled={disabled}
onChange={(event) => {
onChange(event.target.value)