tiramisu-api-python/test/data/unicode1_multi_requires.json

57 lines
1.0 KiB
JSON

{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode1": {
"name": "options.unicode1",
"type": "string",
"title": "Value 'test' must show Unicode 2"
},
"options.unicode2": {
"name": "options.unicode2",
"type": "string",
"isMulti": true,
"title": "Unicode 2"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode2",
"required": true,
"hidden": true
}
],
"form": [
{
"key": "options.unicode1",
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode2"
]
},
"expected": {
"test": {
"show": [
"options.unicode2"
]
}
}
}
},
{
"key": "options.unicode2",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}