this is a breaking change, strictly speaking

pull/10617/head
Simon Holthausen 2 years ago
parent ad8d618a4e
commit 10a908ee78

@ -179,3 +179,7 @@ In Svelte 4, `null` and `undefined` were printed as the corresponding string. In
### `bind:files` values can only be `null`, `undefined` or `FileList`
`bind:files` is now a two-way binding. As such, when setting a value, it needs to be either falsy (`null` or `undefined`) or of type `FileList`.
### Bindings now react to form resets
Previously, calling `form.reset()` wasn't notified by bindings, as such values could get out of sync with the DOM. Svelte 5 fixes this by placing a `reset` listener on the document and invoking bindings where necessary.

Loading…
Cancel
Save