Browse Source

fix: no fields required by default

gh-pages
Michael Shanks 6 years ago
parent
commit
84fcea8a80
  1. 4
      packages/builder/src/constants/backend/index.js

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

@ -15,7 +15,7 @@ export const FIELDS = {
type: "options", type: "options",
constraints: { constraints: {
type: "string", type: "string",
presence: { allowEmpty: true }, presence: false,
inclusion: [], inclusion: [],
}, },
}, },
@ -67,7 +67,7 @@ export const FIELDS = {
type: "link", type: "link",
constraints: { constraints: {
type: "array", type: "array",
presence: { allowEmpty: true }, presence: false,
}, },
}, },
} }

Loading…
Cancel
Save