diff --git a/src/lib/components/refactor/ComposerForm.svelte b/src/lib/components/refactor/ComposerForm.svelte index 343769f..950fdc8 100644 --- a/src/lib/components/refactor/ComposerForm.svelte +++ b/src/lib/components/refactor/ComposerForm.svelte @@ -72,7 +72,13 @@ }, submitting: { on: { - SUBMIT: 'submitted' + SUBMIT: 'submitted', + PREV: { + target: 'input', + actions: assign({ + currentField: (context) => context.currentField - 1 + }) + } } }, submitted: { @@ -119,36 +125,38 @@