Merge pull request #388 from Budibase/backend-bugs

fix date field
This commit is contained in:
Martin McKeaveney 2020-06-25 15:59:16 +01:00 committed by GitHub
commit d53b889ad9
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,
}, },
}, },