diff --git a/frontend/src/lib/components/SchemaForm.svelte b/frontend/src/lib/components/SchemaForm.svelte index 6765265a98..860e3129be 100644 --- a/frontend/src/lib/components/SchemaForm.svelte +++ b/frontend/src/lib/components/SchemaForm.svelte @@ -239,7 +239,17 @@ }) $effect.pre(() => { ;[schema, args] + if (args && typeof args == 'object') { + let oneShowExpr = false + for (const key of fields) { + if (schema.properties?.[key.value]?.showExpr) { + oneShowExpr = true + } + } + if (!oneShowExpr) { + return + } for (const key in args) { args[key] }