diff --git a/playground/matplus/norm-digitalisation/options-standard-exampledata.json b/playground/matplus/norm-digitalisation/options-standard-exampledata.json index 565002bb..d318a917 100644 --- a/playground/matplus/norm-digitalisation/options-standard-exampledata.json +++ b/playground/matplus/norm-digitalisation/options-standard-exampledata.json @@ -1,3 +1,17 @@ { - "done": false + "done": false, + "fruits": [ + { + "value": "apples", + "label": "Apples" + }, + { + "value": "oranges", + "label": "Oranges" + }, + { + "value": "bananas", + "label": "Bananas" + } + ] } \ No newline at end of file diff --git a/playground/matplus/norm-digitalisation/options-standard-schema.json b/playground/matplus/norm-digitalisation/options-standard-schema.json index d9f6577c..d8c7181f 100644 --- a/playground/matplus/norm-digitalisation/options-standard-schema.json +++ b/playground/matplus/norm-digitalisation/options-standard-schema.json @@ -1,11 +1,19 @@ { - "title": "Checkbox", - "description": "A super simple checkbox", + "title": "Dropdown list", + "description": "A dropdown list with options pulled form existing Task Data. IMPORTANT - Add 'fruits' to Task Data before using this component!!!", "properties": { "done": { "type": "boolean", "title": "Done?", "default": false + }, + "favoriteFruit": { + "title": "Select your favorite fruit", + "type": "string", + "anyOf": [ + "options_from_task_data_var:fruits" + ] } - } + }, + "type": "object" } \ No newline at end of file