You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's mentioned in the docs that use:enhance calls form.reset, but in the tutorial there's no mention of it. As someone who just spent a full day debugging why my custom inputs disappear for a second between form submissions and data reload, I'd argue this is a big deal and deserves a big red banner on top (because it kinda pulls the rug from under you by directly manipulating DOM and bypassing the svelte bindings). Or if not that, then it should be an entry in the bullet list of the things it does in the aforementioned tutorial page.
The text was updated successfully, but these errors were encountered:
It's mentioned in the docs that
use:enhance
callsform.reset
, but in the tutorial there's no mention of it. As someone who just spent a full day debugging why my custom inputs disappear for a second between form submissions and data reload, I'd argue this is a big deal and deserves a big red banner on top (because it kinda pulls the rug from under you by directly manipulating DOM and bypassing the svelte bindings). Or if not that, then it should be an entry in the bullet list of the things it does in the aforementioned tutorial page.The text was updated successfully, but these errors were encountered: