0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-22 03:47:27 +01:00
svelte/sites
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
..
svelte-5-preview feat: take form resets into account for two way bindings (#10617) 2024-03-22 17:40:04 +00:00
svelte.dev chore(deps-dev): bump @sveltejs/kit from 2.4.1 to 2.4.3 (#10281) 2024-01-24 14:33:48 -08:00