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

1 line
1016 B
JSON

{"schema": {"choice1_requires.options": {"name": "choice1_requires.options", "properties": {"choice1_requires.options.choice": {"name": "choice1_requires.options.choice", "type": "choice", "value": "hide", "enum": ["hide", "show"], "title": "Choice description"}, "choice1_requires.options.unicode2": {"name": "choice1_requires.options.unicode2", "type": "string", "title": "Unicode 2"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "choice1_requires.options.choice", "required": true, "value": "hide", "owner": "default"}, {"key": "choice1_requires.options.unicode2", "hidden": true}], "form": [{"key": "choice1_requires.options.choice", "clearable": true, "type": "choice", "dependencies": {"default": {"show": ["choice1_requires.options.unicode2"]}, "expected": {"hide": {"hide": ["choice1_requires.options.unicode2"]}, "show": {"show": ["choice1_requires.options.unicode2"]}}}}, {"key": "choice1_requires.options.unicode2", "type": "input"}, {"title": "Configurer", "type": "submit"}]}