fix: no fields required by default

This commit is contained in:
Michael Shanks 2020-10-11 20:42:30 +01:00
parent 2585c30022
commit 84fcea8a80
1 changed files with 2 additions and 2 deletions

View File

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