diff --git a/CHANGELOG.md b/CHANGELOG.md index 92d12c6e..f1959dbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,11 @@ Headlines: Added, Changed, Deprecated, Removed, Fixed, Security The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [2.3.0] - 2024-02-18 ### Fixed -- Dates were set to `undefined` when posting invalid data. +- Depending on the JSON Schema, dates were sometimes set to `undefined` when posting invalid data. ### Added diff --git a/src/lib/client/superForm.ts b/src/lib/client/superForm.ts index 9b503747..f7bf1c86 100644 --- a/src/lib/client/superForm.ts +++ b/src/lib/client/superForm.ts @@ -1569,7 +1569,6 @@ export function superForm< let validation: SuperFormValidated | undefined = undefined; const validateForm = async () => { - // Validate with onSubmit.jsonData() or (default) Form.data return await Form_validate({ adapter: validationAdapter }); };