User: usama@sartography.com clicked save for examples/1-basic-concepts/1-2-forms/test-schema.json

This commit is contained in:
sartography-automated-committer 2023-10-24 15:13:20 +00:00
parent 5318bd2c56
commit b9f9e41f37
2 changed files with 25 additions and 2 deletions

View File

@ -1 +1,15 @@
{}
{
"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"
}
}
}

View File

@ -1 +1,10 @@
{}
{
"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/)."
}
}