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