Skip to content

Releases: ciscoheat/sveltekit-superforms

v1.7.4

29 Sep 09:26
Compare
Choose a tag to compare

Fixed

  • Timing issue in SPA mode displayed errors for valid data, when submitting a form by pressing enter.

v1.7.3

28 Sep 16:42
Compare
Choose a tag to compare

Fixed

  • SuperDebug: Collapsible bar was a submit button and didn't toggle the collapsed status properly.

v1.7.2

23 Sep 15:18
Compare
Choose a tag to compare

Fixed

v1.7.1

19 Sep 17:37
Compare
Choose a tag to compare

Fixed

  • Regression: Forms didn't display validation errors when javascript was disabled.

v1.7.0

16 Sep 09:14
Compare
Choose a tag to compare

Fixed

  • Type error with formFieldProxy when using a strongly typed status message. (#260)
  • Nested Superforms validators didn't work when a field was missing compared to the schema. (#266)

Added

  • Added preprocessed option to superValidate, for handling the processing/coercion of posted form fields manually.

v1.6.1

22 Aug 10:16
Compare
Choose a tag to compare

Fixed

  • Client-side validation didn't take refine into account on a successful validation, not clearing all errors.

v1.6.0

18 Aug 15:02
Compare
Choose a tag to compare

Fixed

  • Client-side validation wasn't resetted properly, when a component containing a form was destroyed and mounted again.
  • Removed debug statement left from 1.5.3

Added

  • Added cookieOptions to actionResult, for customizing the cookie when setting a flash message.
  • SuperDebug now has a collapsible prop, that will make the component collapsible on a per-route basis.

v1.5.3

16 Aug 15:18
Compare
Choose a tag to compare

Fixed

  • Array-level errors weren't typed correctly when changing the cardinality of an array field in the schema (for example with nonempty).
  • customValidity now works with select, textarea and button, not just input.
  • SuperDebug looks a bit better now when there is no css styling on the page.

v1.5.2

15 Aug 16:24
Compare
Choose a tag to compare

Fixed

  • Forms in components weren't resetted properly when destroyed and created again.

v1.5.1

09 Aug 18:06
Compare
Choose a tag to compare

Fixed

  • In rare cases, timers weren't resetted when redirecting to the same route.
  • Client-side validation was ignored when a data property was missing or didn't match the schema type. It now fails with a console error. (#243)