-
I am trying to make a multi-step form wizard where later steps can clear values from previous steps. Example here: https://stackblitz.com/edit/remix-run-remix-dkupdbdg?file=app%2Froutes%2Fstep2.tsx The way I am handling saving the earlier steps is by setting a cookie. I am unable to unset the cookie when I click the button to clear the input value. I think I may need something like an onIntentSubmit option. Is there an existing way to handle multi-step forms? |
Beta Was this translation helpful? Give feedback.
Answered by
evaogbe
Jan 30, 2025
Replies: 1 comment
-
I was able to get it to work by removing the cookie and keeping the state local |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
evaogbe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to get it to work by removing the cookie and keeping the state local