diff --git a/src/lib/StateMachine.svelte b/src/lib/StateMachine.svelte index 090923a..e09c9ac 100644 --- a/src/lib/StateMachine.svelte +++ b/src/lib/StateMachine.svelte @@ -40,7 +40,7 @@ import { tweened } from 'svelte/motion'; import { fade, fly } from 'svelte/transition'; import { validateForm } from '@svelte-toolkit/validate'; - import { ArrowLeft, Check } from 'phosphor-svelte'; + import { ArrowLeft, Check, CheckFat } from 'phosphor-svelte'; import type { IconDef } from './util'; interface Props { @@ -167,6 +167,7 @@ // validate the form const result = await validateForm(formElement); + console.log('validated form', result); if (!result) { buttonComponent.animateBounce(); setTimeout(() => focusFirstInput(true), 50); @@ -359,7 +360,7 @@ {#if i >= index} {i + 1} {:else} - + {/if} {/each} @@ -378,7 +379,7 @@ onclick={() => (index -= 1)} transition:fly={{ x: -200, duration: 200 }} > - + Back {/if} @@ -460,6 +461,7 @@ {#if index < pages.length - 1 && page.button && $height > 0}