tiramisu-api-python/test/data/unicode1_optiondescription_...

74 lines
1.4 KiB
JSON
Raw Normal View History

2019-02-14 21:25:00 +01:00
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode1": {
"name": "options.unicode1",
"type": "string",
"title": "Value 'test' must show OptionDescription"
}
},
"type": "object",
"title": "Common configuration"
},
"unicode1": {
"name": "unicode1",
"properties": {
"unicode1.unicode2": {
"name": "unicode1.unicode2",
"type": "string",
"title": "Unicode 2"
},
"unicode1.unicode3": {
"name": "unicode1.unicode3",
"type": "string",
"title": "Unicode 3"
}
},
"type": "object",
"title": "OptionDescription with 2 options"
}
},
"model": [
{
"key": "unicode1",
"properties": [
"hidden"
],
"hidden": true
}
],
"form": [
{
"key": "options.unicode1",
"type": "input",
"dependencies": {
"default": {
"hide": [
"unicode1"
]
},
"expected": {
"test": {
"show": [
"unicode1"
]
}
}
}
},
{
"key": "unicode1.unicode2",
"type": "input"
},
{
"key": "unicode1.unicode3",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}