From 174ae864348943d4321058721fbb628a7ea53a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=B6derlund?= Date: Sun, 18 Feb 2024 09:05:29 +0100 Subject: [PATCH] Changelog for 2.2.2 --- CHANGELOG.md | 4 ++-- src/lib/client/superForm.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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 }); };