From 43cdf9fab1cc4ef3c79c57a9e9214cbe67e4e780 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Wed, 8 Dec 2021 22:03:34 +0100 Subject: [PATCH] fix --- packages/web/src/forms/FormArgument.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web/src/forms/FormArgument.svelte b/packages/web/src/forms/FormArgument.svelte index 1fa74f70..8f21fc29 100644 --- a/packages/web/src/forms/FormArgument.svelte +++ b/packages/web/src/forms/FormArgument.svelte @@ -22,6 +22,7 @@ label={arg.label} isNative {name} + defaultValue={arg.default} options={arg.options.map(opt => _.isString(opt) ? { label: opt, value: opt } : { label: opt.name, value: opt.value } )}