From 4ca4242d101580fb37b146fe17d0109a57be5171 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Fri, 19 Jan 2024 14:25:02 +0000 Subject: [PATCH] User: esfandiary.mj@gmail.com clicked save for playground/veradis/test/test-schema.json --- playground/veradis/test/test-schema.json | 16 +++++++++++++++- playground/veradis/test/test-uischema.json | 11 ++++++++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/playground/veradis/test/test-schema.json b/playground/veradis/test/test-schema.json index 9e26dfee..14528a4e 100644 --- a/playground/veradis/test/test-schema.json +++ b/playground/veradis/test/test-schema.json @@ -1 +1,15 @@ -{} \ No newline at end of file +{ + "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')", + "type": "object", + "required": [ + "firstName" + ], + "properties": { + "firstName": { + "type": "string", + "title": "First name", + "default": "Chuck" + } + } +} \ No newline at end of file diff --git a/playground/veradis/test/test-uischema.json b/playground/veradis/test/test-uischema.json index 9e26dfee..411a28d3 100644 --- a/playground/veradis/test/test-uischema.json +++ b/playground/veradis/test/test-uischema.json @@ -1 +1,10 @@ -{} \ No newline at end of file +{ + "firstName": { + "ui:autofocus": true, + "ui:emptyValue": "", + "ui:placeholder": "ui:emptyValue causes this field to always be valid despite being required", + "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/)." + } +} \ No newline at end of file