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

1 line
795 B
JSON

{"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": [{"key": "options.choice", "required": true, "value": "hide", "owner": "default"}, {"key": "options.unicode2", "hidden": true}], "form": [{"key": "options.choice", "clearable": true, "type": "choice", "dependencies": {"default": {"show": ["options.unicode2"]}, "expected": {"hide": {"hide": ["options.unicode2"]}, "show": {"show": ["options.unicode2"]}}}}, {"key": "options.unicode2", "type": "input"}, {"title": "Configurer", "type": "submit"}]}