Skip to content

Commit

Permalink
documents: fix contributions in editor.
Browse files Browse the repository at this point in the history
* Fixes hide expression for `identifiedBy` field in contributions by checking the right model.

Co-Authored-by: Sébastien Délèze <[email protected]>
  • Loading branch information
Sébastien Délèze committed Nov 11, 2020
1 parent 3307ed6 commit cf240e0
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1196,13 +1196,8 @@
"minLength": 1
}
},
"required": [
"type",
"source",
"value"
],
"form": {
"hideExpression": "field.model.type !== 'bf:Person'"
"hideExpression": "field.parent.model.type !== 'bf:Person'"
}
},
"date_of_birth": {
Expand Down

0 comments on commit cf240e0

Please sign in to comment.