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

1 line
795 B
JSON
Raw Normal View History

2019-04-03 19:42:59 +02:00
{"schema": {"options": {"name": "options", "properties": {"options.choice": {"name": "options.choice", "type": "choice", "value": "hide", "enum": ["hide", "show"], "title": "Choice description"}, "options.unicode2": {"name": "options.unicode2", "type": "string", "title": "Unicode 2"}}, "type": "object", "title": "Common configuration"}}, "model": {"options.choice": {"required": true, "value": "hide", "owner": "default"}, "options.unicode2": {"hidden": true}}, "form": {"options.choice": {"clearable": true, "type": "choice", "dependencies": {"default": {"show": ["options.unicode2"]}, "expected": {"hide": {"hide": ["options.unicode2"]}, "show": {"show": ["options.unicode2"]}}}}, "options.unicode2": {"type": "input"}, "null": [{"title": "Configurer", "type": "submit"}]}, "version": "1.0"}