diff --git a/playground/dan/maz-and-javad-demo/demo-schema.json b/playground/dan/maz-and-javad-demo/demo-schema.json index 1c674972..9c04dfdc 100644 --- a/playground/dan/maz-and-javad-demo/demo-schema.json +++ b/playground/dan/maz-and-javad-demo/demo-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": "Auto Complete", + "description": "Connect a field to a data store to auto-complete entered values.", "type": "object", "properties": { "favoriteFruit": { @@ -9,6 +9,11 @@ "anyOf": [ "options_from_task_data_var:fruits" ] + }, + "city": { + "type": "string", + "format": "date", + "title": "Select a city" } } } \ No newline at end of file diff --git a/playground/dan/maz-and-javad-demo/demo-uischema.json b/playground/dan/maz-and-javad-demo/demo-uischema.json index 9e26dfee..4b1d3603 100644 --- a/playground/dan/maz-and-javad-demo/demo-uischema.json +++ b/playground/dan/maz-and-javad-demo/demo-uischema.json @@ -1 +1,9 @@ -{} \ No newline at end of file +{ + "city": { + "ui:widget": "typeahead", + "ui:options": { + "category": "cities", + "itemFormat": "{name} ({state}, {country})" + } + } +} \ No newline at end of file