Releases: ciscoheat/sveltekit-superforms
Releases · ciscoheat/sveltekit-superforms
v1.7.4
v1.7.3
Fixed
- SuperDebug: Collapsible bar was a submit button and didn't toggle the collapsed status properly.
v1.7.2
Fixed
- Array and form-level errors didn't respect
submit-only
as validationMethod. (#270) - The customValidity option didn't respect
submit-only
andonblur
as validationMethod.
v1.7.1
v1.7.0
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
v1.6.0
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
toactionResult
, 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
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
andbutton
, not justinput
. - SuperDebug looks a bit better now when there is no css styling on the page.