From 4d172f484140d39036fa838d73e6c1b84e7f7330 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Mon, 20 Nov 2023 21:13:44 +0000 Subject: [PATCH] User: brendan.winnacott@myome.com clicked save for playground/myome/pizza/select-pizza-schema.json --- .../myome/pizza/select-pizza-exampledata.json | 17 ++++++++++++++++- playground/myome/pizza/select-pizza-schema.json | 15 ++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/playground/myome/pizza/select-pizza-exampledata.json b/playground/myome/pizza/select-pizza-exampledata.json index 9e26dfee..2c78a2fd 100644 --- a/playground/myome/pizza/select-pizza-exampledata.json +++ b/playground/myome/pizza/select-pizza-exampledata.json @@ -1 +1,16 @@ -{} \ No newline at end of file +{ + "fruits": [ + { + "value": "apples", + "label": "Apples" + }, + { + "value": "oranges", + "label": "Oranges" + }, + { + "value": "bananas", + "label": "Bananas" + } + ] +} \ No newline at end of file diff --git a/playground/myome/pizza/select-pizza-schema.json b/playground/myome/pizza/select-pizza-schema.json index 9e26dfee..1c674972 100644 --- a/playground/myome/pizza/select-pizza-schema.json +++ b/playground/myome/pizza/select-pizza-schema.json @@ -1 +1,14 @@ -{} \ No newline at end of file +{ + "title": "Dropdown list", + "description": "A dropdown list with options pulled form existing Task Data. IMPORTANT - Add 'fruits' to Task Data before using this component!!!", + "type": "object", + "properties": { + "favoriteFruit": { + "title": "Select your favorite fruit", + "type": "string", + "anyOf": [ + "options_from_task_data_var:fruits" + ] + } + } +} \ No newline at end of file