Themes(school): add invalidValues for conflicting uniform values
This commit is contained in:
parent
a42e1f8161
commit
31312c2dc6
4 changed files with 17 additions and 3 deletions
|
@ -839,6 +839,16 @@
|
|||
"freeform": {
|
||||
"key": "dress_code"
|
||||
},
|
||||
"invalidValues": {
|
||||
"or": [
|
||||
{
|
||||
"and": [
|
||||
"dress_code~(^|.*;)uniform(.*|$)",
|
||||
"dress_code~(^|.*;)(casual|obligated_colour)(.*|$)"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "dress_code=uniform",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue