tiramisu-api-python/tests/data/subconfig_choice1_requires....

1 line
1.1 KiB
JSON
Raw Normal View History

2019-07-27 00:27:31 +02:00
{"schema": {"choice1_requires.options": {"properties": {"choice1_requires.options.choice": {"type": "choice", "enum": ["hide", "show"], "value": "hide", "title": "Choice description"}, "choice1_requires.options.unicode2": {"type": "string", "title": "Unicode 2"}}, "type": "object", "title": "Common configuration"}}, "model": {"choice1_requires.options.choice": {"required": true, "value": "hide"}, "choice1_requires.options.unicode2": {"display": false, "hidden": true}}, "global": {"owner": "user", "properties": ["cache", "demoting_error_warning", "disabled", "force_store_value", "frozen", "hidden", "validator", "warnings"], "permissives": ["hidden"]}, "form": {"choice1_requires.options.choice": {"clearable": true, "type": "choice", "dependencies": {"default": {"show": ["choice1_requires.options.unicode2"]}, "expected": {"show": {"show": ["choice1_requires.options.unicode2"]}, "hide": {"hide": ["choice1_requires.options.unicode2"]}}}}, "choice1_requires.options.unicode2": {"clearable": true, "type": "input"}, "null": [{"title": "Configurer", "type": "submit"}]}, "version": "1.0"}