SvelteKit SuperForms (javascript)
Notes
no notes yet
Release notes
v2.17.0
· 1y+
Deprecated
postedis deprecated, due to inconsistencies between server and client validation, and SPA mode. It will be removed in v3. Use a status message or return your own data in the form action to handle form post status.
Added
descriptionAsErrorsoption for the JSON Schema validator, so you can specify error messages directly in the schema with thedescriptionfield.
Fixed
- File uploads required extra configuration for the valibot adapter, now it works directly.
- Events added in
enhanceweren't cleaned up when the form was destroyed. Note that this could be deprecated in a future version. It's advised to use events only when callingsuperForm, not withenhance.