sveltekit-superforms
sveltekit-superforms copied to clipboard
json form losing value / resetting to previous value in svelte5
- [x] Before posting an issue, read the FAQ and search the previous issues.
Description When using a json form with svelte5, the form resets to a previous value when it's submitted
If applicable, a MRE Here's a minimal repro https://github.com/unlocomqx/superforms-svelte5
nvm, it was caused by resetForm being set to true by default. closing.
Just spent an hour wrestling with this same issue and resetForm: false solved it, thanks for posting this!
Reopening to as a reminder to add to get started docs. (It's also available as the second question in the FAQ)