From 3384a11a06185f60c422de3c3cb38dabd273eed9 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 25 Jun 2020 14:36:27 +0100 Subject: [PATCH] date field --- packages/builder/src/constants/backend/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/builder/src/constants/backend/index.js b/packages/builder/src/constants/backend/index.js index 89861b8ac7..44f44276ed 100644 --- a/packages/builder/src/constants/backend/index.js +++ b/packages/builder/src/constants/backend/index.js @@ -40,10 +40,10 @@ export const FIELDS = { DATETIME: { name: "Date/Time", icon: "ri-calendar-event-fill", - type: "datetime", + type: "string", constraints: { - type: "date", - datetime: {}, + type: "string", + length: {}, presence: false, }, }, @@ -119,10 +119,10 @@ export const BLOCKS = { END_DATE: { name: "End Date", icon: "ri-calendar-event-fill", - type: "datetime", + type: "string", constraints: { - type: "date", - datetime: {}, + type: "string", + length: {}, presence: false, }, },