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",
constraints: {
type: "string",
presence: { allowEmpty: true },
presence: false,
inclusion: [],
},
},
@ -67,7 +67,7 @@ export const FIELDS = {
type: "link",
constraints: {
type: "array",
presence: { allowEmpty: true },
presence: false,
},
},
}

Loading…
Cancel
Save