note: la synthèse et les notes de version sont en anglais
ok: mise à jour sûre
0 breaking change3 points clés
SvelteKit 2.69.0 adds a submitted property to remote forms and fixes form reset and issue handling.
points clés
- note[1]: Remote forms now expose a
submittedproperty.release-notes:4 - note[2]: Form reset now clears issues and touched states.release-notes:10
- note[3]:
fields.branch.issues()now returnsundefinedwhen onlyfields.branch.leafhas issues.release-notes:13
release-notesgithub.com/sveltejs/kit · 13 lignes
- ### Minor Changes
- - feat: expose `submitted` property of remote forms ([#14811](https://github.com/sveltejs/kit/pull/14811))
- ### Patch Changes
- - fix: clear issues and touched states on form reset ([#16163](https://github.com/sveltejs/kit/pull/16163))
- - fix: return `undefined` from `fields.branch.issues()` when only `fields.branch.leaf` has issues ([#16187](https://github.com/sveltejs/kit/pull/16187))