Skip to content

Commit

Permalink
editor: fix edition statement saving problem.
Browse files Browse the repository at this point in the history
The 'responsibilities' field from document 'edition statement' should be
optional in the editor form. This commit hides this field (if it's
empty) so, now, the user must choose to add this field (and fill a
value). Editing a document without 'responsibilities' is now allowed by
default.

* Closes #906

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai authored and benerken committed Jul 9, 2020
1 parent 1a84849 commit 221e4a8
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,15 @@
"items": {
"title": "Responsibility",
"$ref": "#/definitions/language_script"
},
"form": {
"hide": true
}
}
}
},
"required": [
"editionDesignation"
]
},
"form": {
"hide": true,
Expand Down

0 comments on commit 221e4a8

Please sign in to comment.