From e35fe3685f316f32dac00708d075f855ec585031 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 18 Nov 2021 15:57:29 +0000 Subject: [PATCH] Fix default form step context not being a svelte store --- packages/client/src/components/app/forms/InnerForm.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/app/forms/InnerForm.svelte b/packages/client/src/components/app/forms/InnerForm.svelte index 986bf40806..7067d33e7d 100644 --- a/packages/client/src/components/app/forms/InnerForm.svelte +++ b/packages/client/src/components/app/forms/InnerForm.svelte @@ -291,7 +291,7 @@ // Provide form step context so that forms without any step components // register their fields to step 1 - setContext("form-step", 1) + setContext("form-step", writable(1)) // Action context to pass to children const actions = [