Form with Multiple steps with the help of Stepper #1490
Unanswered
priyangshu-datta
asked this question in
Q&A
Replies: 1 comment 7 replies
-
@priyangshu-datta Any reason you abstracted the stepper to a sub-component? I'd recommend dropping the Stepper directly into the page so it's in the same scope. Test and confirm if that works, then you'll know if you're abstraction is valid here or not (I'm not sure it is). Additionally I'd recommend looking at the props we provide for steppers: We include a way to set the |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was working on a basic todo app, and wanted to try implementing form with multiple steps to the add todo feature. It is a simple 2 step process, asking for todo text and if it is completed.
I have tried:
addTodo.svelte
:But the form data does not contain the todo text, and the page reloads, though I have used use:enhance.
Beta Was this translation helpful? Give feedback.
All reactions