Themes(school): add invalidValues for conflicting uniform values

This commit is contained in:
Pieter Vander Vennet 2025-03-01 03:33:57 +01:00
parent a42e1f8161
commit 31312c2dc6
4 changed files with 17 additions and 3 deletions

View file

@ -839,6 +839,16 @@
"freeform": {
"key": "dress_code"
},
"invalidValues": {
"or": [
{
"and": [
"dress_code~(^|.*;)uniform(.*|$)",
"dress_code~(^|.*;)(casual|obligated_colour)(.*|$)"
]
}
]
},
"mappings": [
{
"if": "dress_code=uniform",