0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-28 16:12:17 +01:00
svelte/.changeset/silly-ways-wash.md
Simon H 3eef1cb8cf
feat: take form resets into account for two way bindings (#10617)
* feat: take form resets into account for two way bindings

When resetting a form, the value of the inputs within it get out of sync with the bound value of those inputs. This PR introduces a reset listener on the parent form to reset the value in that case
closes #2659

* slightly different approach

* tweaks, test

* this is a breaking change, strictly speaking

* bind:files

* use capture phase

* tweak wording

* use promise, explain
2024-03-22 17:40:04 +00:00

82 B

svelte
patch

feat: take form resets into account for two way bindings