diff --git a/packages/builder/src/components/userInterface/SettingsView.svelte b/packages/builder/src/components/userInterface/SettingsView.svelte index 233fa08031..bae1b364c9 100644 --- a/packages/builder/src/components/userInterface/SettingsView.svelte +++ b/packages/builder/src/components/userInterface/SettingsView.svelte @@ -117,7 +117,7 @@ control={definition.control} label={definition.label} key={definition.key} - value={componentInstance[definition.key] || componentInstance[definition.key].defaultValue} + value={componentInstance[definition.key] || componentInstance[definition.key]?.defaultValue} {componentInstance} {onChange} props={{ ...excludeProps(definition, ['control', 'label']) }} />