Skip to content

Commit

Permalink
document: canton should only available for switzerland
Browse files Browse the repository at this point in the history
The canton field should only be available when the country 'Switzerland'
was selected in the provisionActitivy country field.

Closes #1285

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai committed Nov 2, 2020
1 parent 7f74408 commit a29f02a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rero_ils/jsonschemas/common/cantons-v0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@
],
"templateOptions": {
"cssClass": "col-lg-4"
}
},
"hideExpression": "field.parent.model.country !== 'sz'"
}
}
}

0 comments on commit a29f02a

Please sign in to comment.