Update data on the same page on Form submission. #649
Unanswered
FarazPatankar
asked this question in
Help
Replies: 1 comment
-
I think all I had to do was use a keyed each block and things seem to work fine. I'd still like to know if my overall setup is fine or if there are things that can be improved! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apologies if this isn't the place to ask this but given the
Form
component forces you to usesveltekit-superforms
andformsnap
, I figured it'd be worth asking.I am trying to fetch and display data on the same page once the user submits a form. It works fine the first time around but if the user changes the value and re-submits, the data (in the UI) is not updated accurately. Here are links to the page and the code in this gist.
My questions are:
Beta Was this translation helpful? Give feedback.
All reactions