Browse Source

Merge pull request #388 from Budibase/backend-bugs

fix date field
gh-pages
Martin McKeaveney 6 years ago
committed by GitHub
parent
commit
d640871ecf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      packages/builder/src/constants/backend/index.js

12
packages/builder/src/constants/backend/index.js

@ -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,
}, },
}, },

Loading…
Cancel
Save