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 authored and Aly Badr committed Nov 5, 2020
1 parent a2d4210 commit ec3699d
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 ec3699d

Please sign in to comment.