From 6f79e16e4df27cc731cd8d10f2e8f693d7195bf9 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 2 Sep 2020 13:22:35 +0200 Subject: [PATCH] validation fix --- src/models/FormPublish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/FormPublish.ts b/src/models/FormPublish.ts index e029c32f0..110cc3a3f 100644 --- a/src/models/FormPublish.ts +++ b/src/models/FormPublish.ts @@ -25,7 +25,7 @@ export const validationSchema = Yup.object().shape({ // ---- optional fields ---- copyrightHolder: Yup.string(), tags: Yup.string(), - links: Yup.object() + links: Yup.object().nullable() }) export const initialValues: MetadataPublishForm = {