From d2b5a3b99d35ad9a2aeee46ba82d2a9842cba8e2 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Mon, 20 Nov 2023 21:13:47 +0000 Subject: [PATCH] User: dan@sartography.com clicked save for playground/dan/pizza-palace-20/select-pizza-uischema.json --- .../pizza-palace-20/select-pizza-schema.json | 18 ++++++++++++++++-- .../pizza-palace-20/select-pizza-uischema.json | 6 +++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/playground/dan/pizza-palace-20/select-pizza-schema.json b/playground/dan/pizza-palace-20/select-pizza-schema.json index 1c674972..d3fc8874 100644 --- a/playground/dan/pizza-palace-20/select-pizza-schema.json +++ b/playground/dan/pizza-palace-20/select-pizza-schema.json @@ -1,6 +1,6 @@ { - "title": "Dropdown list", - "description": "A dropdown list with options pulled form existing Task Data. IMPORTANT - Add 'fruits' to Task Data before using this component!!!", + "title": "Multiple Choice List", + "description": "Build a multiple choice list with a predefined list of options", "type": "object", "properties": { "favoriteFruit": { @@ -9,6 +9,20 @@ "anyOf": [ "options_from_task_data_var:fruits" ] + }, + "multipleChoicesList": { + "type": "array", + "title": "A multiple choices list", + "items": { + "type": "string", + "enum": [ + "foo", + "bar", + "fuzz", + "qux" + ] + }, + "uniqueItems": true } } } \ No newline at end of file diff --git a/playground/dan/pizza-palace-20/select-pizza-uischema.json b/playground/dan/pizza-palace-20/select-pizza-uischema.json index 9e26dfee..fb75fa4e 100644 --- a/playground/dan/pizza-palace-20/select-pizza-uischema.json +++ b/playground/dan/pizza-palace-20/select-pizza-uischema.json @@ -1 +1,5 @@ -{} \ No newline at end of file +{ + "multipleChoicesList": { + "ui:widget": "checkboxes" + } +} \ No newline at end of file