diff --git a/examples/1-basic-concepts/1-2-forms/test-uischema.json b/examples/1-basic-concepts/1-2-forms/test-uischema.json index 411a28d3..0d41087b 100644 --- a/examples/1-basic-concepts/1-2-forms/test-uischema.json +++ b/examples/1-basic-concepts/1-2-forms/test-uischema.json @@ -1,10 +1,40 @@ { + "ui:order": [ + "firstName", + "lastName", + "*", + "password" + + ], "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/)." + "ui:description": "This is just an example, don't provide any real datails.", + "ui:help": "Pick your family name" + }, + "lastName": { + "ui:autocomplete": "given-name", + "ui:enableMarkdownInDescription": true, + "ui:description": "Please make up a name for this, we don't really need any information from you here!" + }, + "age": { + "ui:widget": "updown", + "ui:title": "Age of person", + "ui:description": "(earth year)" + }, + "bio": { + "ui:widget": "textarea" + }, + "password": { + "ui:widget": "password", + "ui:help": "Hint: Make it strong!" + }, + "telephone": { + "ui:options": { + "inputType": "tel" + } } } \ No newline at end of file