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",
|
"title": "Text Field",
|
||||||
"description": "Allow the form submitter to add multiple entries for a set of fields.",
|
"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",
|
"type": "object",
|
||||||
"required": ["pushups","thanos","bulletproof"],
|
"required": [
|
||||||
|
"firstName",
|
||||||
|
"thanos",
|
||||||
|
"bulletproof"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"pushups": {
|
"pushups": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
@ -45,6 +49,11 @@
|
||||||
"const": false
|
"const": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"firstName": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "First name",
|
||||||
|
"default": "Chuck"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -16,5 +16,13 @@
|
||||||
"ui:options": {
|
"ui:options": {
|
||||||
"inline": true
|
"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