From 4a0c83d61364b949f21d0fbc8f2fb8276d68bf31 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Wed, 8 Nov 2023 15:44:40 +0000 Subject: [PATCH] User: asolano@emerson.com clicked save for playground/emerson/test/Test 1-schema.json --- playground/emerson/test/Test 1-schema.json | 10 ++++++++-- playground/emerson/test/Test 1-uischema.json | 4 ++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/playground/emerson/test/Test 1-schema.json b/playground/emerson/test/Test 1-schema.json index 14528a4e..6830f33f 100644 --- a/playground/emerson/test/Test 1-schema.json +++ b/playground/emerson/test/Test 1-schema.json @@ -1,6 +1,6 @@ { - "title": "Text Field", - "description": "A simple text field that is required, has a default value, sets a placeholder, includes a description. (field name will be 'firstname')", + "title": "Date", + "description": "Create a date field with a date picker (delivery_date).", "type": "object", "required": [ "firstName" @@ -10,6 +10,12 @@ "type": "string", "title": "First name", "default": "Chuck" + }, + "delivery_date": { + "type": "string", + "format": "date", + "title": "Preferred Delivery Date", + "validationErrorMessage": "Date must be today's date or later" } } } \ No newline at end of file diff --git a/playground/emerson/test/Test 1-uischema.json b/playground/emerson/test/Test 1-uischema.json index 411a28d3..7cb69e27 100644 --- a/playground/emerson/test/Test 1-uischema.json +++ b/playground/emerson/test/Test 1-uischema.json @@ -6,5 +6,9 @@ "ui:autocomplete": "family-name", "ui:enableMarkdownInDescription": true, "ui:description": "Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/)." + }, + "delivery_date": { + "ui:widget": "date", + "ui:help": "Specify the preferred delivery date for this service/product" } } \ No newline at end of file