User: usama@sartography.com clicked save for examples/1-basic-concepts/1-2-forms/test-schema.json
This commit is contained in:
parent
5318bd2c56
commit
b9f9e41f37
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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/)."
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue