date field

This commit is contained in:
Martin McKeaveney 2020-06-25 14:36:27 +01:00
parent af826be155
commit 3384a11a06
1 changed files with 6 additions and 6 deletions

View File

@ -40,10 +40,10 @@ export const FIELDS = {
DATETIME: { DATETIME: {
name: "Date/Time", name: "Date/Time",
icon: "ri-calendar-event-fill", icon: "ri-calendar-event-fill",
type: "datetime", type: "string",
constraints: { constraints: {
type: "date", type: "string",
datetime: {}, length: {},
presence: false, presence: false,
}, },
}, },
@ -119,10 +119,10 @@ export const BLOCKS = {
END_DATE: { END_DATE: {
name: "End Date", name: "End Date",
icon: "ri-calendar-event-fill", icon: "ri-calendar-event-fill",
type: "datetime", type: "string",
constraints: { constraints: {
type: "date", type: "string",
datetime: {}, length: {},
presence: false, presence: false,
}, },
}, },