From 956fb3b151eb7a32c5d848f24b33e084804995a3 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Fri, 16 Feb 2024 09:32:36 +0000 Subject: [PATCH] User: hurairaidrees@gmail.com clicked save for playground/nutech/issue2/manualchecking-exampledata.json --- .../nutech/issue2/manualchecking-exampledata.json | 15 ++++++++++++++- .../nutech/issue2/manualchecking-schema.json | 14 +++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/playground/nutech/issue2/manualchecking-exampledata.json b/playground/nutech/issue2/manualchecking-exampledata.json index d4c5ff0d..2c78a2fd 100644 --- a/playground/nutech/issue2/manualchecking-exampledata.json +++ b/playground/nutech/issue2/manualchecking-exampledata.json @@ -1,3 +1,16 @@ { - "documents_collected": false, + "fruits": [ + { + "value": "apples", + "label": "Apples" + }, + { + "value": "oranges", + "label": "Oranges" + }, + { + "value": "bananas", + "label": "Bananas" + } + ] } \ No newline at end of file diff --git a/playground/nutech/issue2/manualchecking-schema.json b/playground/nutech/issue2/manualchecking-schema.json index 82656edf..d3ef1759 100644 --- a/playground/nutech/issue2/manualchecking-schema.json +++ b/playground/nutech/issue2/manualchecking-schema.json @@ -1,11 +1,19 @@ { - "title": "Checkbox", - "description": "Authority Letter/Unit Demand Collected?", + "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": { "documents_collected": { "type": "boolean", "title": "Documents Collected", "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