User: dan@sartography.com clicked save for examples/0-2-basic-example/norris-schema.json
This commit is contained in:
parent
92fe81ca6a
commit
ee0b4ec49d
|
@ -1,8 +1,12 @@
|
|||
{
|
||||
"title": "Nested Form / Repeating Section",
|
||||
"description": "Allow the form submitter to add multiple entries for a set of fields.",
|
||||
"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": ["pushups","thanos","bulletproof"],
|
||||
"required": [
|
||||
"firstName",
|
||||
"thanos",
|
||||
"bulletproof"
|
||||
],
|
||||
"properties": {
|
||||
"pushups": {
|
||||
"type": "boolean",
|
||||
|
@ -45,6 +49,11 @@
|
|||
"const": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"firstName": {
|
||||
"type": "string",
|
||||
"title": "First name",
|
||||
"default": "Chuck"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,5 +16,13 @@
|
|||
"ui:options": {
|
||||
"inline": true
|
||||
}
|
||||
},
|
||||
"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