diff --git a/packages/standard-components/src/forms/StringField.svelte b/packages/standard-components/src/forms/StringField.svelte index 30de8621e4..be58d458e1 100644 --- a/packages/standard-components/src/forms/StringField.svelte +++ b/packages/standard-components/src/forms/StringField.svelte @@ -7,6 +7,7 @@ export let placeholder export let type = "text" export let disabled = false + export let defaultValue = "" let fieldState let fieldApi @@ -16,6 +17,7 @@ {label} {field} {disabled} + {defaultValue} type={type === "number" ? "number" : "string"} bind:fieldState bind:fieldApi